aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-11 15:33:44 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-06-11 15:33:44 +0900
commit9f9a5de4669902f80b6664baeba01595ffce3597 (patch)
treea9af85a866daa151ae355d8d520b1fe79d4c2408 /arch/sh/kernel/cpu
parentsh: Tidy up dependencies for SH-2 build. (diff)
downloadlinux-dev-9f9a5de4669902f80b6664baeba01595ffce3597.tar.xz
linux-dev-9f9a5de4669902f80b6664baeba01595ffce3597.zip
sh: Fixup misaligned data for sh2 lockdep.
lockdep/irqflags tracing on SH-2 ends up with a misaligned branch, fix it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r--arch/sh/kernel/cpu/sh2/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh2/entry.S b/arch/sh/kernel/cpu/sh2/entry.S
index c16dc8fec489..ee8f1fe84b08 100644
--- a/arch/sh/kernel/cpu/sh2/entry.S
+++ b/arch/sh/kernel/cpu/sh2/entry.S
@@ -311,6 +311,7 @@ restore_all:
rte
nop
+ .align 2
#ifdef CONFIG_TRACE_IRQFLAGS
1: .long trace_hardirqs_off
#endif