linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] dummy header
@ 2008-01-22 21:15 travis
  2008-01-22 21:15 ` [PATCH 1/1] fix possible undefined PER_CPU_ATTRIBUTES travis
  0 siblings, 1 reply; 2+ messages in thread
From: travis @ 2008-01-22 21:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel


please ignore me

-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] fix possible undefined PER_CPU_ATTRIBUTES
  2008-01-22 21:15 [PATCH 0/1] dummy header travis
@ 2008-01-22 21:15 ` travis
  0 siblings, 0 replies; 2+ messages in thread
From: travis @ 2008-01-22 21:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel

[-- Attachment #1: fix-PER_CPU_ATTRIBUTES-define --]
[-- Type: text/plain, Size: 825 bytes --]

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

-- 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-22 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22 21:15 [PATCH 0/1] dummy header travis
2008-01-22 21:15 ` [PATCH 1/1] fix possible undefined PER_CPU_ATTRIBUTES travis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).