sh: prefetch early exception data on sh4/sh4a.

Prefetch early exception data. There is unused space in our
exception handler cache line anyway, so this is almost free.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Magnus Damm
2009-02-27 16:41:17 +09:00
committed by Paul Mundt
parent 4f099ebb27
commit 0197f21ca5
2 changed files with 10 additions and 2 deletions

View File

@@ -31,3 +31,8 @@
#endif
.endm
#if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH4)
# define PREF(x) pref @x
#else
# define PREF(x) nop
#endif