cleanup
[linux-2.4.git] / include / asm-ppc64 / ipc.h
1 #ifndef __PPC64_IPC_H__
2 #define __PPC64_IPC_H__
3
4 /* 
5  * These are used to wrap system calls on PowerPC.
6  *
7  * See arch/ppc64/kernel/syscalls.c for ugly details..
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version
12  * 2 of the License, or (at your option) any later version.
13  */
14 struct ipc_kludge {
15         struct msgbuf *msgp;
16         long msgtyp;
17 };
18
19 #define SEMOP            1
20 #define SEMGET           2
21 #define SEMCTL           3
22 #define MSGSND          11
23 #define MSGRCV          12
24 #define MSGGET          13
25 #define MSGCTL          14
26 #define SHMAT           21
27 #define SHMDT           22
28 #define SHMGET          23
29 #define SHMCTL          24
30
31 #define IPCCALL(version,op)     ((version)<<16 | (op))
32
33 #endif /* __PPC64_IPC_H__ */