summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/entry-header.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-13 23:24:51 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-06-02 12:20:20 +0400
commit8229c54fa1747765dae1a77875b04e4d69f6ab62 (patch)
tree359deac974ef4297566ca8dfd59e72c501c3d38d /arch/arm/kernel/entry-header.S
parent0aeb3408ca9773283b0ae63771c4b17f39e204df (diff)
downloadlinux-8229c54fa1747765dae1a77875b04e4d69f6ab62.tar.xz
ARM: consolidate last remaining open-coded alignment trap enable
We can use the alignment_trap assembly macro here too. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/entry-header.S')
-rw-r--r--arch/arm/kernel/entry-header.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/entry-header.S b/arch/arm/kernel/entry-header.S
index 1420725142ca..45a1df9bf759 100644
--- a/arch/arm/kernel/entry-header.S
+++ b/arch/arm/kernel/entry-header.S
@@ -37,9 +37,9 @@
#endif
.endm
- .macro alignment_trap, rtemp
+ .macro alignment_trap, rtemp, label
#ifdef CONFIG_ALIGNMENT_TRAP
- ldr \rtemp, .LCcralign
+ ldr \rtemp, \label
ldr \rtemp, [\rtemp]
mcr p15, 0, \rtemp, c1, c0
#endif