]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4881/1: print unrecognised processor ID as part of failure message
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 28 Mar 2008 20:11:47 +0000 (21:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Apr 2008 10:28:08 +0000 (11:28 +0100)
If we fail to boot due to an unsupported processor ID, print the
processor ID as part of the failure message.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head-common.S

index 50f667febe29ff638f2fa1544ab3217f1eb26a0d..7e9c00a8a4127ee35dad9507b109f13f319f23a3 100644 (file)
@@ -75,8 +75,13 @@ __error_p:
 #ifdef CONFIG_DEBUG_LL
        adr     r0, str_p1
        bl      printascii
+       mov     r0, r9
+       bl      printhex8
+       adr     r0, str_p2
+       bl      printascii
        b       __error
-str_p1:        .asciz  "\nError: unrecognized/unsupported processor variant.\n"
+str_p1:        .asciz  "\nError: unrecognized/unsupported processor variant (0x"
+str_p2:        .asciz  ").\n"
        .align
 #endif