projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4eaa1c
)
sh: Add SH-5 subtypes to check_bugs() for utsname.
author
Paul Mundt
<lethal@linux-sh.org>
Thu, 22 Nov 2007 04:11:39 +0000
(13:11 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:55 +0000
(13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/bugs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-sh/bugs.h
b/include/asm-sh/bugs.h
index b66139ff73fce2fb8d65909e2ef561937ca2f958..e2d79567e2a905141939638771901b54d56bf9da 100644
(file)
--- a/
include/asm-sh/bugs.h
+++ b/
include/asm-sh/bugs.h
@@
-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;
}
This page took
0.025172 seconds
and
5
git commands to generate.