aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/alpha/include/asm/percpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/alpha/include/asm/percpu.h b/arch/alpha/include/asm/percpu.h
index 06c5c7a4afd3..7f0a9c4f2fd0 100644
--- a/arch/alpha/include/asm/percpu.h
+++ b/arch/alpha/include/asm/percpu.h
@@ -30,7 +30,6 @@ extern unsigned long __per_cpu_offset[NR_CPUS];
30 30
31#ifndef MODULE 31#ifndef MODULE
32#define SHIFT_PERCPU_PTR(var, offset) RELOC_HIDE(&per_cpu_var(var), (offset)) 32#define SHIFT_PERCPU_PTR(var, offset) RELOC_HIDE(&per_cpu_var(var), (offset))
33#define PER_CPU_ATTRIBUTES
34#else 33#else
35/* 34/*
36 * To calculate addresses of locally defined variables, GCC uses 32-bit 35 * To calculate addresses of locally defined variables, GCC uses 32-bit
@@ -49,8 +48,6 @@ extern unsigned long __per_cpu_offset[NR_CPUS];
49 : "=&r"(__ptr), "=&r"(tmp_gp)); \ 48 : "=&r"(__ptr), "=&r"(tmp_gp)); \
50 (typeof(&per_cpu_var(var)))(__ptr + (offset)); }) 49 (typeof(&per_cpu_var(var)))(__ptr + (offset)); })
51 50
52#define PER_CPU_ATTRIBUTES __used
53
54#endif /* MODULE */ 51#endif /* MODULE */
55 52
56/* 53/*
@@ -71,8 +68,6 @@ extern unsigned long __per_cpu_offset[NR_CPUS];
71#define __get_cpu_var(var) per_cpu_var(var) 68#define __get_cpu_var(var) per_cpu_var(var)
72#define __raw_get_cpu_var(var) per_cpu_var(var) 69#define __raw_get_cpu_var(var) per_cpu_var(var)
73 70
74#define PER_CPU_ATTRIBUTES
75
76#endif /* SMP */ 71#endif /* SMP */
77 72
78#ifdef CONFIG_SMP 73#ifdef CONFIG_SMP