git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus-20190125' of git://git.kernel.dk/linux-block
[sfrench/cifs-2.6.git]
/
arch
/
openrisc
/
include
/
asm
/
futex.h
diff --git
a/arch/openrisc/include/asm/futex.h
b/arch/openrisc/include/asm/futex.h
index 618da4a1bffb9a54aa48daf8942324ea59d7e96f..fe894e6331aedb7c517eba144318494ab3ac623a 100644
(file)
--- a/
arch/openrisc/include/asm/futex.h
+++ b/
arch/openrisc/include/asm/futex.h
@@
-72,7
+72,7
@@
futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
int ret = 0;
u32 prev;
- if (!access_ok(
VERIFY_WRITE,
uaddr, sizeof(u32)))
+ if (!access_ok(uaddr, sizeof(u32)))
return -EFAULT;
__asm__ __volatile__ ( \