#include <asm/paravirt.h>
#include <asm/alternative.h>
+#ifndef CONFIG_XEN
static int __init no_halt(char *s)
{
WARN_ONCE(1, "\"no-hlt\" is deprecated, please use \"idle=poll\"\n");
}
__setup("no-hlt", no_halt);
+#endif
static int __init no_387(char *s)
{
kernel_fpu_end();
+#ifndef CONFIG_XEN
boot_cpu_data.fdiv_bug = fdiv_bug;
if (boot_cpu_data.fdiv_bug)
printk(KERN_WARNING "Hmm, FPU with FDIV bug.\n");
+#endif
}
static void __init check_hlt(void)
{
+#ifndef CONFIG_XEN
if (boot_cpu_data.x86 >= 5 || paravirt_enabled())
return;
halt();
halt();
printk(KERN_CONT "OK.\n");
+#endif
}
/*