[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>
This commit is contained in:
committed by
Russell King
parent
0a6047eef1
commit
264edb35ce
@@ -511,22 +511,7 @@ cpu_elf_name:
|
||||
|
||||
.type cpu_arm925_name, #object
|
||||
cpu_arm925_name:
|
||||
.ascii "ARM925T"
|
||||
#ifndef CONFIG_CPU_ICACHE_DISABLE
|
||||
.ascii "i"
|
||||
#endif
|
||||
#ifndef CONFIG_CPU_DCACHE_DISABLE
|
||||
.ascii "d"
|
||||
#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
|
||||
.ascii "(wt)"
|
||||
#else
|
||||
.ascii "(wb)"
|
||||
#endif
|
||||
#ifdef CONFIG_CPU_CACHE_ROUND_ROBIN
|
||||
.ascii "RR"
|
||||
#endif
|
||||
#endif
|
||||
.ascii "\0"
|
||||
.asciz "ARM925T"
|
||||
.size cpu_arm925_name, . - cpu_arm925_name
|
||||
|
||||
.align
|
||||
|
Reference in New Issue
Block a user