Messages in this thread Patch in this message |  | | From | Rusty Trivial Russell <> | Subject | [TRIVIAL] Fix BUG() decl warning in smp.h for UP | Date | Mon, 06 Jan 2003 15:02:02 +1100 |
| |
From: Rusty Russell <rusty@rustcorp.com.au>
x86 always seems to include asm/page.h, PPC (and presumably others) don't.
--- trivial-2.5-bk/include/linux/smp.h.orig 2003-01-06 14:10:59.000000000 +1100 +++ trivial-2.5-bk/include/linux/smp.h 2003-01-06 14:10:59.000000000 +1100 @@ -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 -- Don't blame me: the Monkey is driving File: Rusty Russell <rusty@rustcorp.com.au>: [PATCH] Fix BUG() decl warning in smp.h for UP - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |