This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / asm-m32r / ipc.h
1 #ifndef __M32R_IPC_H__
2 #define __M32R_IPC_H__
3
4 /* orig : i386/ipc.h 2.6.0-test3 */
5
6 /*
7  * These are used to wrap system calls on x86.
8  *
9  * See arch/i386/kernel/sys_i386.c for ugly details..
10  */
11 struct ipc_kludge {
12         struct msgbuf __user *msgp;
13         long msgtyp;
14 };
15
16 #define SEMOP            1
17 #define SEMGET           2
18 #define SEMCTL           3
19 #define SEMTIMEDOP       4
20 #define MSGSND          11
21 #define MSGRCV          12
22 #define MSGGET          13
23 #define MSGCTL          14
24 #define SHMAT           21
25 #define SHMDT           22
26 #define SHMGET          23
27 #define SHMCTL          24
28
29 /* Used by the DIPC package, try and avoid reusing it */
30 #define DIPC            25
31
32 #define IPCCALL(version,op)     ((version)<<16 | (op))
33
34 #endif  /* __M32R_IPC_H__ */
35