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/ppc/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 */
14struct ipc_kludge {
15	u32 msgp;
16	s32 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__ */
34