Fix BUG() decl warning in smp.h for UP
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
@@ -86,6 +86,7 @@void smp_prepare_boot_cpu (void );#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