[PATCH 1/1] fix possible undefined PER_CPU_ATTRIBUTES

From: travis
Date: Tue Jan 22 2008 - 16:15:47 EST


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@xxxxxxx>
---
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"))) \

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/