From d1858572674a4959b21fe0a0e33650814d8a6fbb Mon Sep 17 00:00:00 2001 From: Yoshihiro Shimoda Date: Mon, 23 Jul 2012 14:53:42 +0000 Subject: [PATCH] sh: modify checkcpu() for SH-4A Even if using CPU is SH-4A, the previous code always put "SH4". This patch fixes it. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/cpu/sh4/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index f136758334..7da1ef753a 100644 --- a/arch/sh/cpu/sh4/cpu.c +++ b/arch/sh/cpu/sh4/cpu.c @@ -29,7 +29,11 @@ int checkcpu(void) { +#ifdef CONFIG_SH4A + puts("CPU: SH-4A\n"); +#else puts("CPU: SH4\n"); +#endif return 0; } -- 2.39.5