Skip to content

Commit

Permalink
ARM: mm: proc-v6: Use the new processor struct macros
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Martin <dave.martin@linaro.org>
  • Loading branch information
Dave Martin committed Jul 7, 2011
1 parent f58d59f commit 7b7dc6e
Showing 1 changed file with 5 additions and 29 deletions.
34 changes: 5 additions & 29 deletions arch/arm/mm/proc-v6.S
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,7 @@ cpu_resume_l1_flags:
#define cpu_v6_do_resume 0
#endif


.type cpu_v6_name, #object
cpu_v6_name:
.asciz "ARMv6-compatible processor"
.size cpu_v6_name, . - cpu_v6_name
string cpu_v6_name, "ARMv6-compatible processor"

.align

Expand Down Expand Up @@ -239,33 +235,13 @@ v6_crval:

__INITDATA

.type v6_processor_functions, #object
ENTRY(v6_processor_functions)
.word v6_early_abort
.word v6_pabort
.word cpu_v6_proc_init
.word cpu_v6_proc_fin
.word cpu_v6_reset
.word cpu_v6_do_idle
.word cpu_v6_dcache_clean_area
.word cpu_v6_switch_mm
.word cpu_v6_set_pte_ext
.word cpu_v6_suspend_size
.word cpu_v6_do_suspend
.word cpu_v6_do_resume
.size v6_processor_functions, . - v6_processor_functions
@ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
define_processor_functions v6, dabort=v6_early_abort, pabort=v6_pabort, suspend=1

.section ".rodata"

.type cpu_arch_name, #object
cpu_arch_name:
.asciz "armv6"
.size cpu_arch_name, . - cpu_arch_name

.type cpu_elf_name, #object
cpu_elf_name:
.asciz "v6"
.size cpu_elf_name, . - cpu_elf_name
string cpu_arch_name, "armv6"
string cpu_elf_name, "v6"
.align

.section ".proc.info.init", #alloc, #execinstr
Expand Down

0 comments on commit 7b7dc6e

Please sign in to comment.