diff options
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
-rw-r--r-- | arch/arm/include/asm/assembler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm/assembler.h index 88286dd483ff..28a48e0d4cca 100644 --- a/arch/arm/include/asm/assembler.h +++ b/arch/arm/include/asm/assembler.h | |||
@@ -243,13 +243,15 @@ | |||
243 | .endm | 243 | .endm |
244 | #endif | 244 | #endif |
245 | 245 | ||
246 | #define USER(x...) \ | 246 | #define USERL(l, x...) \ |
247 | 9999: x; \ | 247 | 9999: x; \ |
248 | .pushsection __ex_table,"a"; \ | 248 | .pushsection __ex_table,"a"; \ |
249 | .align 3; \ | 249 | .align 3; \ |
250 | .long 9999b,9001f; \ | 250 | .long 9999b,l; \ |
251 | .popsection | 251 | .popsection |
252 | 252 | ||
253 | #define USER(x...) USERL(9001f, x) | ||
254 | |||
253 | #ifdef CONFIG_SMP | 255 | #ifdef CONFIG_SMP |
254 | #define ALT_SMP(instr...) \ | 256 | #define ALT_SMP(instr...) \ |
255 | 9998: instr | 257 | 9998: instr |