initial commit with v2.6.9
[linux-2.6.9-moxart.git] / include / asm-ppc64 / ipc.h
blobf91bf5b0d092efb38f2c4ea874318bc7733e24c2
1 #ifndef __PPC64_IPC_H__
2 #define __PPC64_IPC_H__
4 /*
5 * These are used to wrap system calls on PowerPC.
7 * See arch/ppc64/kernel/syscalls.c for ugly details..
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.
14 struct ipc_kludge {
15 struct msgbuf __user *msgp;
16 long msgtyp;
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
32 #define IPCCALL(version,op) ((version)<<16 | (op))
34 #endif /* __PPC64_IPC_H__ */