Skip to contentSkip to conversation

Fix BUG() decl warning in smp.h for UP

TRIVIAL Rusty Trivial Russell 1 participant 1 message Nov 8, 2002

lore
Share & tools
lore
#0 lore raw

From: Rusty Russell <[email protected]>

x86 always seems to include asm/page.h, PPC (and presumably others) don't.

include/linux/smp.h renamed from include/linux/smp.h.orig +1 -0
@@ -79,6 +79,7 @@
 
 int cpu_up(unsigned int cpu);
 #else /* !SMP */
+#include <asm/page.h> /* For BUG() */
 
 /*
  *	These macros fold the SMP functionality into a single CPU system
Signature · 2 lines
  Don't blame me: the Monkey is driving
  File: Rusty Russell <[email protected]>: [PATCH] Fix BUG() decl warning in smp.h for UP