aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/proc-v6.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-10-01 10:37:05 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-10-08 05:07:32 -0400
commit5085f3ff458521045f7e43da62b8c30ea7df2e82 (patch)
tree3820362ac7e1a52ba398909fa1bd024ba4fc552d /arch/arm/mm/proc-v6.S
parent37b05b63754e995b8cb76f4fbe7ed7219b3ca896 (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-v6.S')
-rw-r--r--arch/arm/mm/proc-v6.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S
index 22aac8515196..037d1a47ea98 100644
--- a/arch/arm/mm/proc-v6.S
+++ b/arch/arm/mm/proc-v6.S
@@ -137,7 +137,7 @@ cpu_pj4_name:
137 137
138 .align 138 .align
139 139
140 __INIT 140 __CPUINIT
141 141
142/* 142/*
143 * __v6_setup 143 * __v6_setup
@@ -192,6 +192,8 @@ __v6_setup:
192v6_crval: 192v6_crval:
193 crval clear=0x01e0fb7f, mmuset=0x00c0387d, ucset=0x00c0187c 193 crval clear=0x01e0fb7f, mmuset=0x00c0387d, ucset=0x00c0187c
194 194
195 __INITDATA
196
195 .type v6_processor_functions, #object 197 .type v6_processor_functions, #object
196ENTRY(v6_processor_functions) 198ENTRY(v6_processor_functions)
197 .word v6_early_abort 199 .word v6_early_abort
@@ -205,6 +207,8 @@ ENTRY(v6_processor_functions)
205 .word cpu_v6_set_pte_ext 207 .word cpu_v6_set_pte_ext
206 .size v6_processor_functions, . - v6_processor_functions 208 .size v6_processor_functions, . - v6_processor_functions
207 209
210 .section ".rodata"
211
208 .type cpu_arch_name, #object 212 .type cpu_arch_name, #object
209cpu_arch_name: 213cpu_arch_name:
210 .asciz "armv6" 214 .asciz "armv6"