Fix BUG() decl warning in smp.h for UP
PATCH 1/1 Fix BUG() decl warning in smp.h for UP
x86 always seems to include asm/page.h, PPC (and presumably others) don't.
include/linux/smp.h +1 -0
@@ -79,6 +79,7 @@ extern void unregister_cpu_notifier(struint cpu_up (unsigned int cpu);#else /* !SMP */ +#include <asm/page.h> /* For BUG() */ /* * These macros fold the SMP functionality into a single CPU system
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.