aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-29 17:49:45 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-29 17:49:45 -0400
commit50483c3268918ee51a56d1baa39b9149d2d0d521 (patch)
tree2fb9c927c319628ebddfd118c10df3e626bdd1c4 /include/linux
parent7fda0412c5f7afdd1a5ff518f98dee5157266d8a (diff)
parent1631fcea8399da5e80a80084b3b8c5bfd99d21e7 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Pull arch/tile (really asm-generic) update from Chris Metcalf: "These are a couple of asm-generic changes that apply to tile." * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: compat: use sys_sendfile64() implementation for sendfile syscall [PATCH v3] ipc: provide generic compat versions of IPC syscalls
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/compat.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 7e05fcee75a1..35c2dbf2448a 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -224,6 +224,7 @@ struct compat_sysinfo;
224struct compat_sysctl_args; 224struct compat_sysctl_args;
225struct compat_kexec_segment; 225struct compat_kexec_segment;
226struct compat_mq_attr; 226struct compat_mq_attr;
227struct compat_msgbuf;
227 228
228extern void compat_exit_robust_list(struct task_struct *curr); 229extern void compat_exit_robust_list(struct task_struct *curr);
229 230
@@ -234,13 +235,22 @@ asmlinkage long
234compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, 235compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
235 compat_size_t __user *len_ptr); 236 compat_size_t __user *len_ptr);
236 237
238#ifdef CONFIG_ARCH_WANT_OLD_COMPAT_IPC
237long compat_sys_semctl(int first, int second, int third, void __user *uptr); 239long compat_sys_semctl(int first, int second, int third, void __user *uptr);
238long compat_sys_msgsnd(int first, int second, int third, void __user *uptr); 240long compat_sys_msgsnd(int first, int second, int third, void __user *uptr);
239long compat_sys_msgrcv(int first, int second, int msgtyp, int third, 241long compat_sys_msgrcv(int first, int second, int msgtyp, int third,
240 int version, void __user *uptr); 242 int version, void __user *uptr);
241long compat_sys_msgctl(int first, int second, void __user *uptr);
242long compat_sys_shmat(int first, int second, compat_uptr_t third, int version, 243long compat_sys_shmat(int first, int second, compat_uptr_t third, int version,
243 void __user *uptr); 244 void __user *uptr);
245#else
246long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
247long compat_sys_msgsnd(int msqid, struct compat_msgbuf __user *msgp,
248 size_t msgsz, int msgflg);
249long compat_sys_msgrcv(int msqid, struct compat_msgbuf __user *msgp,
250 size_t msgsz, long msgtyp, int msgflg);
251long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg);
252#endif
253long compat_sys_msgctl(int first, int second, void __user *uptr);
244long compat_sys_shmctl(int first, int second, void __user *uptr); 254long compat_sys_shmctl(int first, int second, void __user *uptr);
245long compat_sys_semtimedop(int semid, struct sembuf __user *tsems, 255long compat_sys_semtimedop(int semid, struct sembuf __user *tsems,
246 unsigned nsems, const struct compat_timespec __user *timeout); 256 unsigned nsems, const struct compat_timespec __user *timeout);