aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-21 23:11:39 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:55 -0500
commit29e0d209b38479e6817318a971082421a7d630b7 (patch)
treeb95847220bbd916b4548d2c190df3d25f2112791 /include/asm-sh
parentb4eaa1cc7ce8203ac9af9184c49c635ce79592b1 (diff)
sh: Add SH-5 subtypes to check_bugs() for utsname.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/bugs.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/asm-sh/bugs.h b/include/asm-sh/bugs.h
index b66139ff73f..e2d79567e2a 100644
--- a/include/asm-sh/bugs.h
+++ b/include/asm-sh/bugs.h
@@ -48,9 +48,16 @@ static void __init check_bugs(void)
48 *p++ = 's'; 48 *p++ = 's';
49 *p++ = 'p'; 49 *p++ = 'p';
50 break; 50 break;
51 default: 51 case CPU_SH5_101 ... CPU_SH5_103:
52 *p++ = '?'; 52 *p++ = '6';
53 *p++ = '!'; 53 *p++ = '4';
54 break;
55 case CPU_SH_NONE:
56 /*
57 * Specifically use CPU_SH_NONE rather than default:,
58 * so we're able to have the compiler whine about
59 * unhandled enumerations.
60 */
54 break; 61 break;
55 } 62 }
56 63