x86: fix whitespace in runtime-const assembler output
The x86 user pointer validation changes made me look at compiler output a lot, and the wrong indentation for the ".popsection" in the generated assembler triggered me. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
typeof(sym) __ret; \
|
typeof(sym) __ret; \
|
||||||
asm_inline("mov %1,%0\n1:\n" \
|
asm_inline("mov %1,%0\n1:\n" \
|
||||||
".pushsection runtime_ptr_" #sym ",\"a\"\n\t" \
|
".pushsection runtime_ptr_" #sym ",\"a\"\n\t" \
|
||||||
".long 1b - %c2 - .\n\t" \
|
".long 1b - %c2 - .\n" \
|
||||||
".popsection" \
|
".popsection" \
|
||||||
:"=r" (__ret) \
|
:"=r" (__ret) \
|
||||||
:"i" ((unsigned long)0x0123456789abcdefull), \
|
:"i" ((unsigned long)0x0123456789abcdefull), \
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
typeof(0u+(val)) __ret = (val); \
|
typeof(0u+(val)) __ret = (val); \
|
||||||
asm_inline("shrl $12,%k0\n1:\n" \
|
asm_inline("shrl $12,%k0\n1:\n" \
|
||||||
".pushsection runtime_shift_" #sym ",\"a\"\n\t" \
|
".pushsection runtime_shift_" #sym ",\"a\"\n\t" \
|
||||||
".long 1b - 1 - .\n\t" \
|
".long 1b - 1 - .\n" \
|
||||||
".popsection" \
|
".popsection" \
|
||||||
:"+r" (__ret)); \
|
:"+r" (__ret)); \
|
||||||
__ret; })
|
__ret; })
|
||||||
|
|||||||
Reference in New Issue
Block a user