diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-06-25 06:37:09 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-25 06:37:09 -0400 |
commit | 405040a78b33e39edf4180fc993b9608f07d3c41 (patch) | |
tree | 6ef511fb4370c4eecc2743234bdd9aade281be86 /include/asm-arm/assembler.h | |
parent | 800d8b5c4b322798414100c253524aaf1bb9cb86 (diff) |
[ARM] Remove save_lr/restore_pc macros
As for RETINSTR/LOADREGS macros, these were for compatibility
with 26-bit ARMs. No longer required, so remove them.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/assembler.h')
-rw-r--r-- | include/asm-arm/assembler.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asm-arm/assembler.h b/include/asm-arm/assembler.h index add451ab894..b97cb3e1ba7 100644 --- a/include/asm-arm/assembler.h +++ b/include/asm-arm/assembler.h | |||
@@ -100,18 +100,6 @@ | |||
100 | msr cpsr_c, \oldcpsr | 100 | msr cpsr_c, \oldcpsr |
101 | .endm | 101 | .endm |
102 | 102 | ||
103 | /* | ||
104 | * These two are used to save LR/restore PC over a user-based access. | ||
105 | * The old 26-bit architecture requires that we do. On 32-bit | ||
106 | * architecture, we can safely ignore this requirement. | ||
107 | */ | ||
108 | .macro save_lr | ||
109 | .endm | ||
110 | |||
111 | .macro restore_pc | ||
112 | mov pc, lr | ||
113 | .endm | ||
114 | |||
115 | #define USER(x...) \ | 103 | #define USER(x...) \ |
116 | 9999: x; \ | 104 | 9999: x; \ |
117 | .section __ex_table,"a"; \ | 105 | .section __ex_table,"a"; \ |