Skip to content

Commit 6fff741

Browse files
Sid Manningandrom3da
authored andcommitted
Hexagon: change jumps to must-extend in futex_atomic_*
Cross-section jumps from .fixup section must be extended. Signed-off-by: Sid Manning <[email protected]> Signed-off-by: Brian Cain <[email protected]> Tested-by: Nick Desaulniers <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
1 parent 788dcee commit 6fff741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/hexagon/include/asm/futex.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"3:\n" \
2222
".section .fixup,\"ax\"\n" \
2323
"4: %1 = #%5;\n" \
24-
" jump 3b\n" \
24+
" jump ##3b\n" \
2525
".previous\n" \
2626
".section __ex_table,\"a\"\n" \
2727
".long 1b,4b,2b,4b\n" \
@@ -90,7 +90,7 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval,
9090
"3:\n"
9191
".section .fixup,\"ax\"\n"
9292
"4: %0 = #%6\n"
93-
" jump 3b\n"
93+
" jump ##3b\n"
9494
".previous\n"
9595
".section __ex_table,\"a\"\n"
9696
".long 1b,4b,2b,4b\n"

0 commit comments

Comments
 (0)