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

Rusty Trivial Russell (rusty@rustcorp.com.au)
Fri, 08 Nov 2002 19:28:34 +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 2002-11-08 18:47:06.000000000 +1100
+++ trivial-2.5-bk/include/linux/smp.h 2002-11-08 18:47:06.000000000 +1100
@@ -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

-- 
  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/