Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a73090ff authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Disable unsupportable prefetching on SH-3.



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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0197f21c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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