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

From: Rusty Trivial Russell (rusty@rustcorp.com.au)
Date: Sun Jan 05 2003 - 23:02:02 EST


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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:30 EST