Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Travis <travis@...>
Cc: Luck, Tony <tony.luck@...>, Geert Uytterhoeven <Geert.Uytterhoeven@...>, Linus Torvalds <torvalds@...>, Thomas Gleixner <tglx@...>, Linux Kernel Development <linux-kernel@...>, Linux/PPC Development <linuxppc-dev@...>, <linux-ia64@...>, <sparclinux@...>
Date: Wednesday, January 30, 2008 - 3:30 pm

* Mike Travis <travis@sgi.com> wrote:


nope, moving that per the patch below did not resolve the link problems.

	Ingo

-------------->
Subject: ia64: build fix #3
From: Ingo Molnar <mingo@elte.hu>

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 include/asm-ia64/percpu.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: linux-x86.q/include/asm-ia64/percpu.h
===================================================================
--- linux-x86.q.orig/include/asm-ia64/percpu.h
+++ linux-x86.q/include/asm-ia64/percpu.h
@@ -8,6 +8,10 @@
 
 #define PERCPU_ENOUGH_ROOM PERCPU_PAGE_SIZE
 
+#ifdef HAVE_MODEL_SMALL_ATTRIBUTE
+# define PER_CPU_ATTRIBUTES	__attribute__((__model__ (__small__)))
+#endif
+
 #ifdef __ASSEMBLY__
 # define THIS_CPU(var)	(per_cpu__##var)  /* use this to mark accesses to per-CPU variables... */
 #else /* !__ASSEMBLY__ */
@@ -15,10 +19,6 @@
 
 #include <linux/threads.h>
 
-#ifdef HAVE_MODEL_SMALL_ATTRIBUTE
-# define PER_CPU_ATTRIBUTES	__attribute__((__model__ (__small__)))
-#endif
-
 #ifdef CONFIG_SMP
 
 #define __my_cpu_offset	__ia64_per_cpu_var(local_per_cpu_offset)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup, Geert Uytterhoeven, (Wed Jan 30, 11:27 am)
Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup, Olof Johansson, (Wed Jan 30, 2:35 pm)
Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup, Ingo Molnar, (Wed Jan 30, 3:30 pm)
Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup, Olof Johansson, (Wed Jan 30, 3:13 pm)