forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/s390/include/asm/futex.h
....@@ -16,7 +16,8 @@
1616 "3: jl 1b\n" \
1717 " lhi %0,0\n" \
1818 "4: sacf 768\n" \
19
- EX_TABLE(0b,4b) EX_TABLE(2b,4b) EX_TABLE(3b,4b) \
19
+ EX_TABLE(0b,4b) EX_TABLE(1b,4b) \
20
+ EX_TABLE(2b,4b) EX_TABLE(3b,4b) \
2021 : "=d" (ret), "=&d" (oldval), "=&d" (newval), \
2122 "=m" (*uaddr) \
2223 : "0" (-EFAULT), "d" (oparg), "a" (uaddr), \
....@@ -29,7 +30,6 @@
2930 mm_segment_t old_fs;
3031
3132 old_fs = enable_sacf_uaccess();
32
- pagefault_disable();
3333 switch (op) {
3434 case FUTEX_OP_SET:
3535 __futex_atomic_op("lr %2,%5\n",
....@@ -54,7 +54,6 @@
5454 default:
5555 ret = -ENOSYS;
5656 }
57
- pagefault_enable();
5857 disable_sacf_uaccess(old_fs);
5958
6059 if (!ret)