ia64/linux-2.6.18-xen.hg

view include/asm-generic/ipc.h @ 782:9ab1c319531f

merge with linux-2.6.18-xen.hg
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 28 13:07:23 2009 +0900 (2009-01-28)
parents 831230e53067
children
line source
1 #ifndef _ASM_GENERIC_IPC_H
2 #define _ASM_GENERIC_IPC_H
3 /*
4 * These are used to wrap system calls.
5 *
6 * See architecture code for ugly details..
7 */
8 struct ipc_kludge {
9 struct msgbuf __user *msgp;
10 long msgtyp;
11 };
13 #define SEMOP 1
14 #define SEMGET 2
15 #define SEMCTL 3
16 #define SEMTIMEDOP 4
17 #define MSGSND 11
18 #define MSGRCV 12
19 #define MSGGET 13
20 #define MSGCTL 14
21 #define SHMAT 21
22 #define SHMDT 22
23 #define SHMGET 23
24 #define SHMCTL 24
26 /* Used by the DIPC package, try and avoid reusing it */
27 #define DIPC 25
29 #define IPCCALL(version,op) ((version)<<16 | (op))
31 #endif /* _ASM_GENERIC_IPC_H */