diff options
author | Dave Martin <dave.martin@linaro.org> | 2011-06-23 12:25:46 -0400 |
---|---|---|
committer | Dave Martin <dave.martin@linaro.org> | 2011-07-07 10:31:10 -0400 |
commit | 7b7dc6e8885b863beef189ade5971ff14781a971 (patch) | |
tree | 2884a82af90fcd1ccd773bd17f7f788033013599 /arch/arm/mm | |
parent | f58d59f6c59397b8a1381207c58189034b904879 (diff) |
ARM: mm: proc-v6: Use the new processor struct macros
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/proc-v6.S | 34 |
1 files changed, 5 insertions, 29 deletions
diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S index 1d2b8451bf25..5ec15431cf12 100644 --- a/arch/arm/mm/proc-v6.S +++ b/arch/arm/mm/proc-v6.S | |||
@@ -169,11 +169,7 @@ cpu_resume_l1_flags: | |||
169 | #define cpu_v6_do_resume 0 | 169 | #define cpu_v6_do_resume 0 |
170 | #endif | 170 | #endif |
171 | 171 | ||
172 | 172 | string cpu_v6_name, "ARMv6-compatible processor" | |
173 | .type cpu_v6_name, #object | ||
174 | cpu_v6_name: | ||
175 | .asciz "ARMv6-compatible processor" | ||
176 | .size cpu_v6_name, . - cpu_v6_name | ||
177 | 173 | ||
178 | .align | 174 | .align |
179 | 175 | ||
@@ -239,33 +235,13 @@ v6_crval: | |||
239 | 235 | ||
240 | __INITDATA | 236 | __INITDATA |
241 | 237 | ||
242 | .type v6_processor_functions, #object | 238 | @ define struct processor (see <asm/proc-fns.h> and proc-macros.S) |
243 | ENTRY(v6_processor_functions) | 239 | define_processor_functions v6, dabort=v6_early_abort, pabort=v6_pabort, suspend=1 |
244 | .word v6_early_abort | ||
245 | .word v6_pabort | ||
246 | .word cpu_v6_proc_init | ||
247 | .word cpu_v6_proc_fin | ||
248 | .word cpu_v6_reset | ||
249 | .word cpu_v6_do_idle | ||
250 | .word cpu_v6_dcache_clean_area | ||
251 | .word cpu_v6_switch_mm | ||
252 | .word cpu_v6_set_pte_ext | ||
253 | .word cpu_v6_suspend_size | ||
254 | .word cpu_v6_do_suspend | ||
255 | .word cpu_v6_do_resume | ||
256 | .size v6_processor_functions, . - v6_processor_functions | ||
257 | 240 | ||
258 | .section ".rodata" | 241 | .section ".rodata" |
259 | 242 | ||
260 | .type cpu_arch_name, #object | 243 | string cpu_arch_name, "armv6" |
261 | cpu_arch_name: | 244 | string cpu_elf_name, "v6" |
262 | .asciz "armv6" | ||
263 | .size cpu_arch_name, . - cpu_arch_name | ||
264 | |||
265 | .type cpu_elf_name, #object | ||
266 | cpu_elf_name: | ||
267 | .asciz "v6" | ||
268 | .size cpu_elf_name, . - cpu_elf_name | ||
269 | .align | 245 | .align |
270 | 246 | ||
271 | .section ".proc.info.init", #alloc, #execinstr | 247 | .section ".proc.info.init", #alloc, #execinstr |