summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/entry-armv.S
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-26 15:19:48 +0100
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-26 15:19:48 +0100
commitacaca3c91536491119e97d428c1da935f411cc9a (patch)
tree212c1193f17d263b25df6f7ce636608c5c52508b /arch/arm/kernel/entry-armv.S
parente0f9f4a622cec66d09a5d9339f048877c665cec3 (diff)
downloadtalos-obmc-linux-acaca3c91536491119e97d428c1da935f411cc9a.tar.gz
talos-obmc-linux-acaca3c91536491119e97d428c1da935f411cc9a.zip
[PATCH] ARM: Remove SVC_MODE definition
SVC_MODE reflects the MODE_SVC definition in asm/ptrace.h. Use the asm/ptrace.h definition instead, and remove SVC_MODE. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/entry-armv.S')
-rw-r--r--arch/arm/kernel/entry-armv.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index fc1428905472..414705671865 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -545,7 +545,7 @@ vector_\name:
@
mrs r13, cpsr
bic r13, r13, #MODE_MASK
- orr r13, r13, #MODE_SVC
+ orr r13, r13, #SVC_MODE
msr spsr_cxsf, r13 @ switch to SVC_32 mode
and lr, lr, #15
OpenPOWER on IntegriCloud