Not sure how this leaked out and I haven't caught it yet in my
cross-build testing but to be on the safe side, PER_CPU_ATTRIBUTES
should be defined.
Applies to 2.6.24-rc8-mm1 + percpu changes
Signed-off-by: Mike Travis <travis@sgi.com>
---
include/linux/percpu.h | 4 ++++
1 file changed, 4 insertions(+)
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -9,6 +9,10 @@
#include <asm/percpu.h>
+#ifndef PER_CPU_ATTRIBUTES
+#define PER_CPU_ATTRIBUTES
+#endif
+
#ifdef CONFIG_SMP
#define DEFINE_PER_CPU(type, name) \
__attribute__((__section__(".data.percpu"))) \
--
--