diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/compat-signal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-mips/compat-signal.h b/include/asm-mips/compat-signal.h index 672077084aa1..d6e7c3b4119a 100644 --- a/include/asm-mips/compat-signal.h +++ b/include/asm-mips/compat-signal.h | |||
@@ -33,9 +33,6 @@ static inline int __copy_conv_sigset_from_user(sigset_t *d, | |||
33 | BUG_ON(sizeof(*d) != sizeof(*s)); | 33 | BUG_ON(sizeof(*d) != sizeof(*s)); |
34 | BUG_ON(_NSIG_WORDS != 2); | 34 | BUG_ON(_NSIG_WORDS != 2); |
35 | 35 | ||
36 | if (unlikely(!access_ok(VERIFY_READ, d, sizeof(*d)))) | ||
37 | return -EFAULT; | ||
38 | |||
39 | #ifdef CONFIG_CPU_BIG_ENDIAN | 36 | #ifdef CONFIG_CPU_BIG_ENDIAN |
40 | err = __get_user(u->c.sig[1], &s->sig[0]); | 37 | err = __get_user(u->c.sig[1], &s->sig[0]); |
41 | err |= __get_user(u->c.sig[0], &s->sig[1]); | 38 | err |= __get_user(u->c.sig[0], &s->sig[1]); |