diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-05-29 07:41:23 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-01 15:59:03 +0900 |
commit | 98fbe45bea77c1804eae0e71f27673db1824a2a8 (patch) | |
tree | 75ebec05b862b7c57ecde5f422aa8b1542b56e27 /arch/sh/kernel/cpu/sh4/probe.c | |
parent | 1823f6d5e6b81cca6542ed2e5f30d2556aad0f67 (diff) | |
download | kernel_samsung_smdk4412-98fbe45bea77c1804eae0e71f27673db1824a2a8.zip kernel_samsung_smdk4412-98fbe45bea77c1804eae0e71f27673db1824a2a8.tar.gz kernel_samsung_smdk4412-98fbe45bea77c1804eae0e71f27673db1824a2a8.tar.bz2 |
sh: SH7724 has an L2 cache.
Add the CPU_HAS_L2_CACHE flag to SH7724.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4/probe.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index 973ff83..7d821ce 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c @@ -160,7 +160,7 @@ int __init detect_cpu_and_cache_system(void) boot_cpu_data.type = CPU_SH7724; boot_cpu_data.icache.ways = 4; boot_cpu_data.dcache.ways = 4; - boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU; + boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_FPU | CPU_HAS_L2_CACHE; break; case 0x4000: /* 1st cut */ case 0x4001: /* 2nd cut */ |