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-arm1026.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-arm1026.S')
-rw-r--r-- | arch/arm/mm/proc-arm1026.S | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mm/proc-arm1026.S b/arch/arm/mm/proc-arm1026.S index abe850c9a641..2796c8e0ddf3 100644 --- a/arch/arm/mm/proc-arm1026.S +++ b/arch/arm/mm/proc-arm1026.S | |||
@@ -456,25 +456,7 @@ cpu_elf_name: | |||
456 | 456 | ||
457 | .type cpu_arm1026_name, #object | 457 | .type cpu_arm1026_name, #object |
458 | cpu_arm1026_name: | 458 | cpu_arm1026_name: |
459 | .ascii "ARM1026EJ-S" | 459 | .asciz "ARM1026EJ-S" |
460 | #ifndef CONFIG_CPU_ICACHE_DISABLE | ||
461 | .ascii "i" | ||
462 | #endif | ||
463 | #ifndef CONFIG_CPU_DCACHE_DISABLE | ||
464 | .ascii "d" | ||
465 | #ifdef CONFIG_CPU_DCACHE_WRITETHROUGH | ||
466 | .ascii "(wt)" | ||
467 | #else | ||
468 | .ascii "(wb)" | ||
469 | #endif | ||
470 | #endif | ||
471 | #ifndef CONFIG_CPU_BPREDICT_DISABLE | ||
472 | .ascii "B" | ||
473 | #endif | ||
474 | #ifdef CONFIG_CPU_CACHE_ROUND_ROBIN | ||
475 | .ascii "RR" | ||
476 | #endif | ||
477 | .ascii "\0" | ||
478 | .size cpu_arm1026_name, . - cpu_arm1026_name | 460 | .size cpu_arm1026_name, . - cpu_arm1026_name |
479 | 461 | ||
480 | .align | 462 | .align |