Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / include / asm-sh / ipc.h
blobf214d910b71b4ebbfee9fc3f473ec6bdc359f83d
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 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_SH_IPC_H */