diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-01 19:15:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 07:56:23 -0400 |
commit | 73fffc037e2383a0ed126d57bdcda9b369769ae8 (patch) | |
tree | 9099954565aac8e2ea1b0e040662d6ca14844027 /arch/sparc/include | |
parent | b696fdc259f0d94348a9327bed352fac44d4883d (diff) |
sparc64: Get rid of real_setup_per_cpu_areas().
Now that we defer the cpu_data() initializations to the end of per-cpu
setup, we can get rid of this local hack we had to setup the per-cpu
areas eary.
This is a necessary step in order to support HAVE_DYNAMIC_PER_CPU_AREA
since the per-cpu setup must run when page structs are available.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/percpu_64.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/percpu_64.h b/arch/sparc/include/asm/percpu_64.h index c0ab102d11f6..007aafb4ae97 100644 --- a/arch/sparc/include/asm/percpu_64.h +++ b/arch/sparc/include/asm/percpu_64.h | |||
@@ -9,8 +9,6 @@ register unsigned long __local_per_cpu_offset asm("g5"); | |||
9 | 9 | ||
10 | #include <asm/trap_block.h> | 10 | #include <asm/trap_block.h> |
11 | 11 | ||
12 | extern void real_setup_per_cpu_areas(void); | ||
13 | |||
14 | #define __per_cpu_offset(__cpu) \ | 12 | #define __per_cpu_offset(__cpu) \ |
15 | (trap_block[(__cpu)].__per_cpu_base) | 13 | (trap_block[(__cpu)].__per_cpu_base) |
16 | #define per_cpu_offset(x) (__per_cpu_offset(x)) | 14 | #define per_cpu_offset(x) (__per_cpu_offset(x)) |
@@ -19,8 +17,6 @@ extern void real_setup_per_cpu_areas(void); | |||
19 | 17 | ||
20 | #else /* ! SMP */ | 18 | #else /* ! SMP */ |
21 | 19 | ||
22 | #define real_setup_per_cpu_areas() do { } while (0) | ||
23 | |||
24 | #endif /* SMP */ | 20 | #endif /* SMP */ |
25 | 21 | ||
26 | #include <asm-generic/percpu.h> | 22 | #include <asm-generic/percpu.h> |