diff options
author | Dave Martin <dave.martin@linaro.org> | 2011-06-23 12:25:11 -0400 |
---|---|---|
committer | Dave Martin <dave.martin@linaro.org> | 2011-07-07 10:31:10 -0400 |
commit | 5973ba5886366bbcc7c911911d151b9ae13f2edb (patch) | |
tree | 08e6677ad58157655720e8dd0dec5fae1c881fa1 /arch/arm/mm | |
parent | a39a32187b71f8a693f3d128b483a2428941e83a (diff) |
ARM: mm: proc-sa110: 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-sa110.S | 39 |
1 files changed, 5 insertions, 34 deletions
diff --git a/arch/arm/mm/proc-sa110.S b/arch/arm/mm/proc-sa110.S index 46f09ed16b98..d50ada26edd6 100644 --- a/arch/arm/mm/proc-sa110.S +++ b/arch/arm/mm/proc-sa110.S | |||
@@ -187,43 +187,14 @@ sa110_crval: | |||
187 | 187 | ||
188 | __INITDATA | 188 | __INITDATA |
189 | 189 | ||
190 | /* | 190 | @ define struct processor (see <asm/proc-fns.h> and proc-macros.S) |
191 | * Purpose : Function pointers used to access above functions - all calls | 191 | define_processor_functions sa110, dabort=v4_early_abort, pabort=legacy_pabort |
192 | * come through these | ||
193 | */ | ||
194 | |||
195 | .type sa110_processor_functions, #object | ||
196 | ENTRY(sa110_processor_functions) | ||
197 | .word v4_early_abort | ||
198 | .word legacy_pabort | ||
199 | .word cpu_sa110_proc_init | ||
200 | .word cpu_sa110_proc_fin | ||
201 | .word cpu_sa110_reset | ||
202 | .word cpu_sa110_do_idle | ||
203 | .word cpu_sa110_dcache_clean_area | ||
204 | .word cpu_sa110_switch_mm | ||
205 | .word cpu_sa110_set_pte_ext | ||
206 | .word 0 | ||
207 | .word 0 | ||
208 | .word 0 | ||
209 | .size sa110_processor_functions, . - sa110_processor_functions | ||
210 | 192 | ||
211 | .section ".rodata" | 193 | .section ".rodata" |
212 | 194 | ||
213 | .type cpu_arch_name, #object | 195 | string cpu_arch_name, "armv4" |
214 | cpu_arch_name: | 196 | string cpu_elf_name, "v4" |
215 | .asciz "armv4" | 197 | string cpu_sa110_name, "StrongARM-110" |
216 | .size cpu_arch_name, . - cpu_arch_name | ||
217 | |||
218 | .type cpu_elf_name, #object | ||
219 | cpu_elf_name: | ||
220 | .asciz "v4" | ||
221 | .size cpu_elf_name, . - cpu_elf_name | ||
222 | |||
223 | .type cpu_sa110_name, #object | ||
224 | cpu_sa110_name: | ||
225 | .asciz "StrongARM-110" | ||
226 | .size cpu_sa110_name, . - cpu_sa110_name | ||
227 | 198 | ||
228 | .align | 199 | .align |
229 | 200 | ||