aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2008-07-02 15:15:09 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:32 +0900
commit3611ee7acc113e5e482b7d20d5133935226f3129 (patch)
tree514eb8f7e4901f784f24d74eecfc971409da410a /arch/sh/kernel/cpu
parentsh: Tidy up the SH-3 exception vector table. (diff)
downloadlinux-dev-3611ee7acc113e5e482b7d20d5133935226f3129.tar.xz
linux-dev-3611ee7acc113e5e482b7d20d5133935226f3129.zip
sh: Stub in silicon cut in CPU info.
Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r--arch/sh/kernel/cpu/sh4/probe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c
index be4926969181..db442f37852d 100644
--- a/arch/sh/kernel/cpu/sh4/probe.c
+++ b/arch/sh/kernel/cpu/sh4/probe.c
@@ -64,6 +64,9 @@ int __init detect_cpu_and_cache_system(void)
if ((cvr & 0x20000000) == 1)
boot_cpu_data.flags |= CPU_HAS_FPU;
+ /* We don't know the chip cut */
+ boot_cpu_data.cut_major = boot_cpu_data.cut_minor = -1;
+
/* Mask off the upper chip ID */
pvr &= 0xffff;