patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-s390 / ipc.h
1 /*
2  *  include/asm-s390/ipc.h
3  *
4  *  S390 version
5  *
6  *  Derived from "include/asm-i386/ipc.h"
7  */
8
9 #ifndef __s390_IPC_H__
10 #define __s390_IPC_H__
11
12 /* 
13  * These are used to wrap system calls on S390.
14  *
15  * See arch/s390/kernel/sys_s390.c for ugly details..
16  */
17 struct ipc_kludge {
18         struct msgbuf __user *msgp;
19         long msgtyp;
20 };
21
22 #define SEMOP            1
23 #define SEMGET           2
24 #define SEMCTL           3
25 #define SEMTIMEDOP       4
26 #define MSGSND          11
27 #define MSGRCV          12
28 #define MSGGET          13
29 #define MSGCTL          14
30 #define SHMAT           21
31 #define SHMDT           22
32 #define SHMGET          23
33 #define SHMCTL          24
34
35 /* Used by the DIPC package, try and avoid reusing it */
36 #define DIPC            25
37
38 #define IPCCALL(version,op)     ((version)<<16 | (op))
39
40 #endif