diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-06-29 10:03:09 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-29 10:03:09 -0400 |
commit | 264edb35ce5c85749bfdd2942c74b786ea1cde41 (patch) | |
tree | a32533144367bbe5f1522da6e4b76f17d4e648b8 /arch/arm/mm/proc-arm1020e.S | |
parent | 0a6047eef1c465c38aacfbdab193161b3f0cd144 (diff) |
[ARM] Remove yucky ifdefs to print "id(wb)BRR" suffix on CPU name
The "id(wb)BRR" suffix reports which CPU debugging options were (or
were not) selected at kernel build time. Rather than have every
proc-*.S file implement this, report the control register value,
from which this information can be deduced.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-arm1020e.S')
-rw-r--r-- | arch/arm/mm/proc-arm1020e.S | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mm/proc-arm1020e.S b/arch/arm/mm/proc-arm1020e.S index bcd5ee022e00..8c7e25f4b7e7 100644 --- a/arch/arm/mm/proc-arm1020e.S +++ b/arch/arm/mm/proc-arm1020e.S | |||
@@ -477,25 +477,7 @@ cpu_elf_name: | |||
477 | 477 | ||
478 | .type cpu_arm1020e_name, #object | 478 | .type cpu_arm1020e_name, #object |
479 | cpu_arm1020e_name: | 479 | cpu_arm1020e_name: |
480 | .ascii "ARM1020E" | 480 | .asciz "ARM1020E" |
481 | #ifndef CONFIG_CPU_ICACHE_DISABLE | ||
482 | .ascii "i" | ||
483 | #endif | ||
484 | #ifndef CONFIG_CPU_DCACHE_DISABLE | ||
485 | .ascii "d" | ||
486 | #ifdef CONFIG_CPU_DCACHE_WRITETHROUGH | ||
487 | .ascii "(wt)" | ||
488 | #else | ||
489 | .ascii "(wb)" | ||
490 | #endif | ||
491 | #endif | ||
492 | #ifndef CONFIG_CPU_BPREDICT_DISABLE | ||
493 | .ascii "B" | ||
494 | #endif | ||
495 | #ifdef CONFIG_CPU_CACHE_ROUND_ROBIN | ||
496 | .ascii "RR" | ||
497 | #endif | ||
498 | .ascii "\0" | ||
499 | .size cpu_arm1020e_name, . - cpu_arm1020e_name | 481 | .size cpu_arm1020e_name, . - cpu_arm1020e_name |
500 | 482 | ||
501 | .align | 483 | .align |