[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1173185666.4644.30.camel@localhost.localdomain>
Date: Tue, 06 Mar 2007 23:54:26 +1100
From: Rusty Russell <rusty@...tcorp.com.au>
To: lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Zachary Amsden <zach@...are.com>,
Jeremy Fitzhardinge <jeremy@...source.com>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <ak@...e.de>
Subject: [PATCH 2/8] Remove NR_CPUS from asm-generic/percpu.h
I managed to get an error about NR_CPUS undefined after a make
allyesconfig. Admittedly this was a patched kernel, but it's easy to
remove it and avoid the error in future even if it's OK at the moment.
Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
diff -r 4519e3475c4f include/asm-generic/percpu.h
--- a/include/asm-generic/percpu.h Mon Mar 05 12:17:10 2007 +1100
+++ b/include/asm-generic/percpu.h Mon Mar 05 16:14:05 2007 +1100
@@ -5,7 +5,7 @@
#define __GENERIC_PER_CPU
#ifdef CONFIG_SMP
-extern unsigned long __per_cpu_offset[NR_CPUS];
+extern unsigned long __per_cpu_offset[];
#define per_cpu_offset(x) (__per_cpu_offset[x])
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists