Ver Fonte

x86: mach-default/setup.c declare no_broadcast before they get used

included mach_ipi.h for no_broadcast declaration

fixed minor spacing for no_broadcast

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Jaswinder Singh há 17 anos atrás
pai
commit
71e3b81843
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      arch/x86/mach-default/setup.c

+ 3 - 1
arch/x86/mach-default/setup.c

@@ -10,13 +10,15 @@
 #include <asm/e820.h>
 #include <asm/setup.h>
 
+#include <mach_ipi.h>
+
 #ifdef CONFIG_HOTPLUG_CPU
 #define DEFAULT_SEND_IPI	(1)
 #else
 #define DEFAULT_SEND_IPI	(0)
 #endif
 
-int no_broadcast=DEFAULT_SEND_IPI;
+int no_broadcast = DEFAULT_SEND_IPI;
 
 /**
  * pre_intr_init_hook - initialisation prior to setting up interrupt vectors