Merge with Linux 2.5.74.
[linux-2.6/linux-mips.git] / include / asm-sh / ipc.h
blobc0c363982e48c8300306425d75ab7a79ddfe7e97
1 #ifndef __ASM_SH_IPC_H
2 #define __ASM_SH_IPC_H
4 /*
5 * These are used to wrap system calls on x86.
7 * See arch/i386/kernel/sys_i386.c for ugly details..
8 */
9 struct ipc_kludge {
10 struct msgbuf *msgp;
11 long msgtyp;
14 #define SEMOP 1
15 #define SEMGET 2
16 #define SEMCTL 3
17 #define SEMTIMEDOP 4
18 #define MSGSND 11
19 #define MSGRCV 12
20 #define MSGGET 13
21 #define MSGCTL 14
22 #define SHMAT 21
23 #define SHMDT 22
24 #define SHMGET 23
25 #define SHMCTL 24
27 /* Used by the DIPC package, try and avoid reusing it */
28 #define DIPC 25
30 #define IPCCALL(version,op) ((version)<<16 | (op))
32 #endif /* __ASM_SH_IPC_H */