diff options
-rw-r--r-- | arch/s390/kernel/sys_s390.c | 4 | ||||
-rw-r--r-- | arch/s390/kernel/traps.c | 2 | ||||
-rw-r--r-- | include/asm-s390/uaccess.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c index 6a63553493c5..e351780bb660 100644 --- a/arch/s390/kernel/sys_s390.c +++ b/arch/s390/kernel/sys_s390.c | |||
@@ -122,8 +122,8 @@ out: | |||
122 | #ifndef CONFIG_64BIT | 122 | #ifndef CONFIG_64BIT |
123 | struct sel_arg_struct { | 123 | struct sel_arg_struct { |
124 | unsigned long n; | 124 | unsigned long n; |
125 | fd_set *inp, *outp, *exp; | 125 | fd_set __user *inp, *outp, *exp; |
126 | struct timeval *tvp; | 126 | struct timeval __user *tvp; |
127 | }; | 127 | }; |
128 | 128 | ||
129 | asmlinkage long old_select(struct sel_arg_struct __user *arg) | 129 | asmlinkage long old_select(struct sel_arg_struct __user *arg) |
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index 5d21e9e6e7b4..a46793beeddd 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c | |||
@@ -486,7 +486,7 @@ asmlinkage void illegal_op(struct pt_regs * regs, long interruption_code) | |||
486 | info.si_signo = signal; | 486 | info.si_signo = signal; |
487 | info.si_errno = 0; | 487 | info.si_errno = 0; |
488 | info.si_code = ILL_ILLOPC; | 488 | info.si_code = ILL_ILLOPC; |
489 | info.si_addr = (void *) location; | 489 | info.si_addr = (void __user *) location; |
490 | do_trap(interruption_code, signal, | 490 | do_trap(interruption_code, signal, |
491 | "illegal operation", regs, &info); | 491 | "illegal operation", regs, &info); |
492 | } | 492 | } |
diff --git a/include/asm-s390/uaccess.h b/include/asm-s390/uaccess.h index be104f21c70a..e2c73b45de40 100644 --- a/include/asm-s390/uaccess.h +++ b/include/asm-s390/uaccess.h | |||
@@ -61,7 +61,7 @@ | |||
61 | #define segment_eq(a,b) ((a).ar4 == (b).ar4) | 61 | #define segment_eq(a,b) ((a).ar4 == (b).ar4) |
62 | 62 | ||
63 | 63 | ||
64 | static inline int __access_ok(const void *addr, unsigned long size) | 64 | static inline int __access_ok(const void __user *addr, unsigned long size) |
65 | { | 65 | { |
66 | return 1; | 66 | return 1; |
67 | } | 67 | } |