summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/system_32.h
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2008-09-05 09:06:42 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-09-08 03:35:04 +0200
commitc6feb6142cb85228e73497a309f475a0d7279318 (patch)
treec05344f677fabca1255d4e9e284e42a215f241d6 /arch/sh/include/asm/system_32.h
parentsh: Add support for memory hot-remove. (diff)
downloadlinux-c6feb6142cb85228e73497a309f475a0d7279318.tar.xz
linux-c6feb6142cb85228e73497a309f475a0d7279318.zip
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/asm/system_32.h')
-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 16509ed2bb60..f7f105627fd9 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.