diff options
Diffstat (limited to 'arch/x86/lib/usercopy_32.c')
-rw-r--r-- | arch/x86/lib/usercopy_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/usercopy_32.c b/arch/x86/lib/usercopy_32.c index 71fb58d44d58..bfd94e7812fc 100644 --- a/arch/x86/lib/usercopy_32.c +++ b/arch/x86/lib/usercopy_32.c | |||
@@ -67,7 +67,7 @@ unsigned long | |||
67 | clear_user(void __user *to, unsigned long n) | 67 | clear_user(void __user *to, unsigned long n) |
68 | { | 68 | { |
69 | might_fault(); | 69 | might_fault(); |
70 | if (access_ok(VERIFY_WRITE, to, n)) | 70 | if (access_ok(to, n)) |
71 | __do_clear_user(to, n); | 71 | __do_clear_user(to, n); |
72 | return n; | 72 | return n; |
73 | } | 73 | } |