diff options
Diffstat (limited to 'arch/parisc/kernel/sys_parisc32.c')
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index 46bdf6080fe4..f517e08e7f0d 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -60,21 +60,6 @@ asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, | |||
60 | return -ENOSYS; | 60 | return -ENOSYS; |
61 | } | 61 | } |
62 | 62 | ||
63 | asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg) | ||
64 | { | ||
65 | union semun u; | ||
66 | |||
67 | if (cmd == SETVAL) { | ||
68 | /* Ugh. arg is a union of int,ptr,ptr,ptr, so is 8 bytes. | ||
69 | * The int should be in the first 4, but our argument | ||
70 | * frobbing has left it in the last 4. | ||
71 | */ | ||
72 | u.val = *((int *)&arg + 1); | ||
73 | return sys_semctl (semid, semnum, cmd, u); | ||
74 | } | ||
75 | return sys_semctl (semid, semnum, cmd, arg); | ||
76 | } | ||
77 | |||
78 | asmlinkage long compat_sys_fanotify_mark(int fan_fd, int flags, u32 mask_hi, | 63 | asmlinkage long compat_sys_fanotify_mark(int fan_fd, int flags, u32 mask_hi, |
79 | u32 mask_lo, int fd, | 64 | u32 mask_lo, int fd, |
80 | const char __user *pathname) | 65 | const char __user *pathname) |