diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-01 10:37:05 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-08 05:07:32 -0400 |
commit | 5085f3ff458521045f7e43da62b8c30ea7df2e82 (patch) | |
tree | 3820362ac7e1a52ba398909fa1bd024ba4fc552d /arch/arm/mm/proc-v7.S | |
parent | 37b05b63754e995b8cb76f4fbe7ed7219b3ca896 (diff) |
ARM: hotplug cpu: Keep processor information, startup code & __lookup_processor_type
When hotplug CPU is enabled, we need to keep the list of supported CPUs,
their setup functions, and __lookup_processor_type in place so that we
can find and initialize secondary CPUs. Move these into the __CPUINIT
section.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-v7.S')
-rw-r--r-- | arch/arm/mm/proc-v7.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index 6a8506d99ee9..cd15adb9b2e4 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -169,7 +169,7 @@ cpu_v7_name: | |||
169 | .ascii "ARMv7 Processor" | 169 | .ascii "ARMv7 Processor" |
170 | .align | 170 | .align |
171 | 171 | ||
172 | __INIT | 172 | __CPUINIT |
173 | 173 | ||
174 | /* | 174 | /* |
175 | * __v7_setup | 175 | * __v7_setup |
@@ -297,6 +297,8 @@ v7_crval: | |||
297 | __v7_setup_stack: | 297 | __v7_setup_stack: |
298 | .space 4 * 11 @ 11 registers | 298 | .space 4 * 11 @ 11 registers |
299 | 299 | ||
300 | __INITDATA | ||
301 | |||
300 | .type v7_processor_functions, #object | 302 | .type v7_processor_functions, #object |
301 | ENTRY(v7_processor_functions) | 303 | ENTRY(v7_processor_functions) |
302 | .word v7_early_abort | 304 | .word v7_early_abort |
@@ -310,6 +312,8 @@ ENTRY(v7_processor_functions) | |||
310 | .word cpu_v7_set_pte_ext | 312 | .word cpu_v7_set_pte_ext |
311 | .size v7_processor_functions, . - v7_processor_functions | 313 | .size v7_processor_functions, . - v7_processor_functions |
312 | 314 | ||
315 | .section ".rodata" | ||
316 | |||
313 | .type cpu_arch_name, #object | 317 | .type cpu_arch_name, #object |
314 | cpu_arch_name: | 318 | cpu_arch_name: |
315 | .asciz "armv7" | 319 | .asciz "armv7" |