Parcourir la source

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>
Paul Mundt il y a 18 ans
Parent
commit
9f9a5de466
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      arch/sh/kernel/cpu/sh2/entry.S

+ 1 - 0
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