From: Lennert Buytenhek Date: Fri, 28 Mar 2008 20:11:47 +0000 (+0100) Subject: [ARM] 4881/1: print unrecognised processor ID as part of failure message X-Git-Tag: upstream/snapshot3+hdmi~26255^2~6^6~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84081bd2205efd1e6c7203bc7099b4350839ee39;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [ARM] 4881/1: print unrecognised processor ID as part of failure message 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 Acked-by: Nicolas Pitre Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head-common.S index 50f667f..7e9c00a 100644 --- a/arch/arm/kernel/head-common.S +++ b/arch/arm/kernel/head-common.S @@ -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