Subject: PATCH -- Re: 2.6.0-test3-bk1 -- include/asm/smp.h:61: error: `NR_CPUS' undeclared (first use in this function)

From: Miles Lane <[email-masked]>
Date: Sun, 10 Aug 2003 12:34:45 -0700

For Linus:

--- include/asm-ppc/smp.h~      2003-07-27 09:57:50.000000000 -0700
+++ include/asm-ppc/smp.h       2003-08-10 12:30:14.000000000 -0700
@@ -14,6 +14,7 @@
 #include <linux/kernel.h>
 #include <linux/bitops.h>
 #include <linux/errno.h>
+#include <linux/threads.h>

 #ifdef CONFIG_SMP

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/