Skip to contentSkip to conversation

dummy header

PATCH New [email protected] 1 participant 2 messages Jan 22, 2008

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 fix possible undefined PER_CPU_ATTRIBUTES

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

---
 include/linux/percpu.h |    4 ++++
 1 file changed, 4 insertions(+)
include/linux/percpu.h +4 -0
@@ -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")))			\
Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>