diff options
author | Paul Mundt | 2006-12-11 12:28:03 +0100 |
---|---|---|
committer | Paul Mundt | 2006-12-12 00:42:09 +0100 |
commit | 41504c39726a7099e5a42508dd57fe561c8b4129 (patch) | |
tree | 29e3ea77a973fc7ee137e78a03b2b6c24b99d559 /include/asm-sh/bugs.h | |
parent | sh: Fixup dma_cache_sync() callers. (diff) | |
download | kernel-qcow2-linux-41504c39726a7099e5a42508dd57fe561c8b4129.tar.gz kernel-qcow2-linux-41504c39726a7099e5a42508dd57fe561c8b4129.tar.xz kernel-qcow2-linux-41504c39726a7099e5a42508dd57fe561c8b4129.zip |
sh: SH-MobileR SH7722 CPU support.
This adds CPU support for the SH7722.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/bugs.h')
-rw-r--r-- | include/asm-sh/bugs.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/asm-sh/bugs.h b/include/asm-sh/bugs.h index 795047da5e17..a294997a8412 100644 --- a/include/asm-sh/bugs.h +++ b/include/asm-sh/bugs.h @@ -16,9 +16,8 @@ static void __init check_bugs(void) { - extern char *get_cpu_subtype(void); extern unsigned long loops_per_jiffy; - char *p= &init_utsname()->machine[2]; /* "sh" */ + char *p = &init_utsname()->machine[2]; /* "sh" */ cpu_data->loops_per_jiffy = loops_per_jiffy; @@ -40,6 +39,15 @@ static void __init check_bugs(void) *p++ = '4'; *p++ = 'a'; break; + case CPU_SH73180 ... CPU_SH7722: + *p++ = '4'; + *p++ = 'a'; + *p++ = 'l'; + *p++ = '-'; + *p++ = 'd'; + *p++ = 's'; + *p++ = 'p'; + break; default: *p++ = '?'; *p++ = '!'; |