Skip to content

Commit a262d3a

Browse files
hcahcaVasily Gorbik
authored andcommitted
s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
For some exception types the instruction address points behind the instruction that caused the exception. Take that into account and add the missing exception table entry. Cc: <stable@vger.kernel.org> Reviewed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent 4e1b5a8 commit a262d3a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/s390/include/asm/futex.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"3: jl 1b\n" \
1818
" lhi %0,0\n" \
1919
"4: sacf 768\n" \
20-
EX_TABLE(0b,4b) EX_TABLE(2b,4b) EX_TABLE(3b,4b) \
20+
EX_TABLE(0b,4b) EX_TABLE(1b,4b) \
21+
EX_TABLE(2b,4b) EX_TABLE(3b,4b) \
2122
: "=d" (ret), "=&d" (oldval), "=&d" (newval), \
2223
"=m" (*uaddr) \
2324
: "0" (-EFAULT), "d" (oparg), "a" (uaddr), \

0 commit comments

Comments
 (0)