smp_call_function_single(): be slightly less stupid, fix #2
authorIngo Molnar <mingo@elte.hu>
Mon, 12 Jan 2009 15:04:37 +0000 (16:04 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 Jan 2009 15:04:37 +0000 (16:04 +0100)
fix m68k build failure:

 tip/kernel/up.c: In function 'smp_call_function_single':
 tip/kernel/up.c:16: error: dereferencing pointer to incomplete type
 make[2]: *** [kernel/up.o] Error 1

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/up.c

index c04b9dc..1ff27a2 100644 (file)
@@ -2,6 +2,7 @@
  * Uniprocessor-only support functions.  The counterpart to kernel/smp.c
  */
 
+#include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/smp.h>