aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
authortravis@sgi.com <travis@sgi.com>2008-01-30 17:27:58 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 17:27:58 -0500
commit05991bef104051d47e2160ee9499186aff7da5ad (patch)
treeff6b00b2d407acd0b743d4272f4577e97e09c823 /include/linux/percpu.h
parent3afc620229ccc8214ef96fd0e7db26d79f788167 (diff)
ia64: use generic percpu
ia64 has a special processor specific mapping that can be used to locate the offset for the current per cpu area. Cc: linux-ia64@vger.kernel.org Signed-off-by: Mike Travis <travis@sgi.com> Acked-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index 00412bb494c4..50faa0ea28e4 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -9,10 +9,6 @@
9 9
10#include <asm/percpu.h> 10#include <asm/percpu.h>
11 11
12#ifndef PER_CPU_ATTRIBUTES
13#define PER_CPU_ATTRIBUTES
14#endif
15
16#ifdef CONFIG_SMP 12#ifdef CONFIG_SMP
17#define DEFINE_PER_CPU(type, name) \ 13#define DEFINE_PER_CPU(type, name) \
18 __attribute__((__section__(".data.percpu"))) \ 14 __attribute__((__section__(".data.percpu"))) \