aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/setup.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-06-29 10:03:09 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-29 10:03:09 -0400
commit264edb35ce5c85749bfdd2942c74b786ea1cde41 (patch)
treea32533144367bbe5f1522da6e4b76f17d4e648b8 /arch/arm/kernel/setup.c
parent0a6047eef1c465c38aacfbdab193161b3f0cd144 (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/kernel/setup.c')
-rw-r--r--arch/arm/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 093ccba0503c..7d02f96eeb9d 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -315,9 +315,9 @@ static void __init setup_processor(void)
315 cpu_cache = *list->cache; 315 cpu_cache = *list->cache;
316#endif 316#endif
317 317
318 printk("CPU: %s [%08x] revision %d (ARMv%s)\n", 318 printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08x\n",
319 cpu_name, processor_id, (int)processor_id & 15, 319 cpu_name, processor_id, (int)processor_id & 15,
320 proc_arch[cpu_architecture()]); 320 proc_arch[cpu_architecture()], cr_alignment);
321 321
322 sprintf(system_utsname.machine, "%s%c", list->arch_name, ENDIANNESS); 322 sprintf(system_utsname.machine, "%s%c", list->arch_name, ENDIANNESS);
323 sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS); 323 sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS);