aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2008-09-05 16:06:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-08 10:35:04 +0900
commitc6feb6142cb85228e73497a309f475a0d7279318 (patch)
treec05344f677fabca1255d4e9e284e42a215f241d6 /arch/sh/include
parent3159e7d62ad13f71ef3fe029c145594d8caa580d (diff)
downloadkernel_samsung_smdk4412-c6feb6142cb85228e73497a309f475a0d7279318.zip
kernel_samsung_smdk4412-c6feb6142cb85228e73497a309f475a0d7279318.tar.gz
kernel_samsung_smdk4412-c6feb6142cb85228e73497a309f475a0d7279318.tar.bz2
sh: early cached_to_uncached initialization.
statically initialise the cached_to_uncached offset, so that we can use it immediatly. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/system_32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/include/asm/system_32.h b/arch/sh/include/asm/system_32.h
index 16509ed..f7f1056 100644
--- a/arch/sh/include/asm/system_32.h
+++ b/arch/sh/include/asm/system_32.h
@@ -58,7 +58,8 @@ do { \
last = __last; \
} while (0)
-#define __uses_jump_to_uncached __attribute__ ((__section__ (".uncached.text")))
+#define __uses_jump_to_uncached \
+ noinline __attribute__ ((__section__ (".uncached.text")))
/*
* Jump to uncached area.