]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Disable unsupportable prefetching on SH-3.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 27 Feb 2009 07:42:05 +0000 (16:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 27 Feb 2009 07:42:05 +0000 (16:42 +0900)
The SH-3 does not support 'pref'-based prefetching, only SH-2A and SH-4A
parts do. Remove SH-3 from the list.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/processor_32.h

index dcaed24c71fc6a2590d43671b34e99946a7e7e3a..efdd78a53b111f493f6f62280c1d9c19d3c6791d 100644 (file)
@@ -191,8 +191,7 @@ extern unsigned long get_wchan(struct task_struct *p);
 
 #define user_stack_pointer(_regs)      ((_regs)->regs[15])
 
-#if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH3) || \
-    defined(CONFIG_CPU_SH4)
+#if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH4)
 #define PREFETCH_STRIDE                L1_CACHE_BYTES
 #define ARCH_HAS_PREFETCH
 #define ARCH_HAS_PREFETCHW