diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-10-18 13:44:11 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-10-26 14:47:31 +0200 |
commit | a262d3ad6a433e4080cecd0a8841104a5906355e (patch) | |
tree | b05881ac954413d485fbb92e9208dbef3bc0df1d /arch | |
parent | 4e1b5a86a5edfbefc9396d41b0fc1a2ebd0101b6 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/include/asm/futex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/include/asm/futex.h b/arch/s390/include/asm/futex.h index e08c882dccaa..eaeaeb3ff0be 100644 --- a/arch/s390/include/asm/futex.h +++ b/arch/s390/include/asm/futex.h @@ -17,7 +17,8 @@ "3: jl 1b\n" \ " lhi %0,0\n" \ "4: sacf 768\n" \ - EX_TABLE(0b,4b) EX_TABLE(2b,4b) EX_TABLE(3b,4b) \ + EX_TABLE(0b,4b) EX_TABLE(1b,4b) \ + EX_TABLE(2b,4b) EX_TABLE(3b,4b) \ : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ "=m" (*uaddr) \ : "0" (-EFAULT), "d" (oparg), "a" (uaddr), \ |