diff options
author | Tony Luck <tony.luck@intel.com> | 2008-10-17 16:51:01 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-10-17 16:51:01 -0400 |
commit | 4d4230c27f380745b7fc30c0906402eede3b2cff (patch) | |
tree | d540e5aef05d30bab1ef83ca575ae44b9c111849 | |
parent | a9894a4a3c7fb53258d46dafe9dd4f45369fd9dd (diff) | |
parent | 0f32dc9dc2cfe3e4608fd5cf7afa5d2acb6e3c10 (diff) |
Pull compat into release branch
-rw-r--r-- | arch/ia64/ia32/ia32_entry.S | 4 | ||||
-rw-r--r-- | arch/ia64/ia32/sys_ia32.c | 23 | ||||
-rw-r--r-- | arch/ia64/include/asm/unistd.h | 1 |
3 files changed, 3 insertions, 25 deletions
diff --git a/arch/ia64/ia32/ia32_entry.S b/arch/ia64/ia32/ia32_entry.S index 53505bb04771..82a7a0bc5d2e 100644 --- a/arch/ia64/ia32/ia32_entry.S +++ b/arch/ia64/ia32/ia32_entry.S | |||
@@ -202,7 +202,7 @@ ia32_syscall_table: | |||
202 | data8 sys32_ptrace | 202 | data8 sys32_ptrace |
203 | data8 sys32_alarm | 203 | data8 sys32_alarm |
204 | data8 sys_ni_syscall | 204 | data8 sys_ni_syscall |
205 | data8 sys32_pause | 205 | data8 sys_pause |
206 | data8 compat_sys_utime /* 30 */ | 206 | data8 compat_sys_utime /* 30 */ |
207 | data8 sys_ni_syscall /* old stty syscall holder */ | 207 | data8 sys_ni_syscall /* old stty syscall holder */ |
208 | data8 sys_ni_syscall /* old gtty syscall holder */ | 208 | data8 sys_ni_syscall /* old gtty syscall holder */ |
@@ -215,7 +215,7 @@ ia32_syscall_table: | |||
215 | data8 sys_mkdir | 215 | data8 sys_mkdir |
216 | data8 sys_rmdir /* 40 */ | 216 | data8 sys_rmdir /* 40 */ |
217 | data8 sys_dup | 217 | data8 sys_dup |
218 | data8 sys32_pipe | 218 | data8 sys_pipe |
219 | data8 compat_sys_times | 219 | data8 compat_sys_times |
220 | data8 sys_ni_syscall /* old prof syscall holder */ | 220 | data8 sys_ni_syscall /* old prof syscall holder */ |
221 | data8 sys32_brk /* 45 */ | 221 | data8 sys32_brk /* 45 */ |
diff --git a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c index f4430bb4bbdc..800a7174a5cb 100644 --- a/arch/ia64/ia32/sys_ia32.c +++ b/arch/ia64/ia32/sys_ia32.c | |||
@@ -1098,21 +1098,6 @@ sys32_mremap (unsigned int addr, unsigned int old_len, unsigned int new_len, | |||
1098 | return ret; | 1098 | return ret; |
1099 | } | 1099 | } |
1100 | 1100 | ||
1101 | asmlinkage long | ||
1102 | sys32_pipe (int __user *fd) | ||
1103 | { | ||
1104 | int retval; | ||
1105 | int fds[2]; | ||
1106 | |||
1107 | retval = do_pipe_flags(fds, 0); | ||
1108 | if (retval) | ||
1109 | goto out; | ||
1110 | if (copy_to_user(fd, fds, sizeof(fds))) | ||
1111 | retval = -EFAULT; | ||
1112 | out: | ||
1113 | return retval; | ||
1114 | } | ||
1115 | |||
1116 | asmlinkage unsigned long | 1101 | asmlinkage unsigned long |
1117 | sys32_alarm (unsigned int seconds) | 1102 | sys32_alarm (unsigned int seconds) |
1118 | { | 1103 | { |
@@ -1704,14 +1689,6 @@ out: | |||
1704 | } | 1689 | } |
1705 | 1690 | ||
1706 | asmlinkage int | 1691 | asmlinkage int |
1707 | sys32_pause (void) | ||
1708 | { | ||
1709 | current->state = TASK_INTERRUPTIBLE; | ||
1710 | schedule(); | ||
1711 | return -ERESTARTNOHAND; | ||
1712 | } | ||
1713 | |||
1714 | asmlinkage int | ||
1715 | sys32_msync (unsigned int start, unsigned int len, int flags) | 1692 | sys32_msync (unsigned int start, unsigned int len, int flags) |
1716 | { | 1693 | { |
1717 | unsigned int addr; | 1694 | unsigned int addr; |
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index d535833aab5e..f791576355ad 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h | |||
@@ -337,6 +337,7 @@ | |||
337 | # define __ARCH_WANT_SYS_NICE | 337 | # define __ARCH_WANT_SYS_NICE |
338 | # define __ARCH_WANT_SYS_OLD_GETRLIMIT | 338 | # define __ARCH_WANT_SYS_OLD_GETRLIMIT |
339 | # define __ARCH_WANT_SYS_OLDUMOUNT | 339 | # define __ARCH_WANT_SYS_OLDUMOUNT |
340 | # define __ARCH_WANT_SYS_PAUSE | ||
340 | # define __ARCH_WANT_SYS_SIGPENDING | 341 | # define __ARCH_WANT_SYS_SIGPENDING |
341 | # define __ARCH_WANT_SYS_SIGPROCMASK | 342 | # define __ARCH_WANT_SYS_SIGPROCMASK |
342 | # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | 343 | # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND |