[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>
This commit is contained in:
committed by
Russell King
parent
800d8b5c4b
commit
405040a78b
@@ -100,18 +100,6 @@
|
||||
msr cpsr_c, \oldcpsr
|
||||
.endm
|
||||
|
||||
/*
|
||||
* These two are used to save LR/restore PC over a user-based access.
|
||||
* The old 26-bit architecture requires that we do. On 32-bit
|
||||
* architecture, we can safely ignore this requirement.
|
||||
*/
|
||||
.macro save_lr
|
||||
.endm
|
||||
|
||||
.macro restore_pc
|
||||
mov pc, lr
|
||||
.endm
|
||||
|
||||
#define USER(x...) \
|
||||
9999: x; \
|
||||
.section __ex_table,"a"; \
|
||||
|
Reference in New Issue
Block a user