提交 29e0d209 编写于 作者: P Paul Mundt

sh: Add SH-5 subtypes to check_bugs() for utsname.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 b4eaa1cc
......@@ -48,9 +48,16 @@ static void __init check_bugs(void)
*p++ = 's';
*p++ = 'p';
break;
default:
*p++ = '?';
*p++ = '!';
case CPU_SH5_101 ... CPU_SH5_103:
*p++ = '6';
*p++ = '4';
break;
case CPU_SH_NONE:
/*
* Specifically use CPU_SH_NONE rather than default:,
* so we're able to have the compiler whine about
* unhandled enumerations.
*/
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册