i386/tsc: Fix unused function warning on xen.
This commit is contained in:
parent
155f334f57
commit
50ebc8f5f3
1 changed files with 2 additions and 2 deletions
|
@ -57,6 +57,8 @@ grub_get_tsc (void)
|
|||
return (((grub_uint64_t) hi) << 32) | lo;
|
||||
}
|
||||
|
||||
#ifndef GRUB_MACHINE_XEN
|
||||
|
||||
static __inline int
|
||||
grub_cpu_is_tsc_supported (void)
|
||||
{
|
||||
|
@ -69,8 +71,6 @@ grub_cpu_is_tsc_supported (void)
|
|||
return (d & (1 << 4)) != 0;
|
||||
}
|
||||
|
||||
#ifndef GRUB_MACHINE_XEN
|
||||
|
||||
static void
|
||||
grub_pit_wait (grub_uint16_t tics)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue