[PATCH 1/3] Vmi compile fix
From: Zachary Amsden
Date: Thu Jan 04 2007 - 23:36:46 EST
The variable no_timer_check does not exist in UP builds; don't try to
set it in the vmi init code.
Signed-off-by: Zachary Amsden <zach@xxxxxxxxxx>
diff -r 21d7686ee318 arch/i386/kernel/vmi.c
--- a/arch/i386/kernel/vmi.c Thu Jan 04 15:23:30 2007 -0800
+++ b/arch/i386/kernel/vmi.c Thu Jan 04 15:55:39 2007 -0800
@@ -913,7 +913,9 @@ void __init vmi_init(void)
local_irq_save(flags);
activate_vmi();
+#ifdef CONFIG_SMP
no_timer_check = 1;
+#endif
local_irq_restore(flags & X86_EFLAGS_IF);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/