patch-2_6_7-vs1_9_1_12
[linux-2.6.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 __user *msgp;
16         long msgtyp;
17 };
18
19 #define SEMOP            1
20 #define SEMGET           2
21 #define SEMCTL           3
22 #define SEMTIMEDOP       4
23 #define MSGSND          11
24 #define MSGRCV          12
25 #define MSGGET          13
26 #define MSGCTL          14
27 #define SHMAT           21
28 #define SHMDT           22
29 #define SHMGET          23
30 #define SHMCTL          24
31
32 #define IPCCALL(version,op)     ((version)<<16 | (op))
33
34 #endif /* __PPC64_IPC_H__ */