clean
[linux-2.4.21-pre4.git] / include / asm-sparc64 / ipc.h
1 #ifndef __SPARC64_IPC_H__
2 #define __SPARC64_IPC_H__
3
4 /* 
5  * These are used to wrap system calls on the sparc.
6  *
7  * See arch/sparc64/kernel/sys_sparc32.c for ugly details..
8  */
9 struct ipc_kludge {
10         u32 msgp;
11         s32 msgtyp;
12 };
13
14 #define SEMOP            1
15 #define SEMGET           2
16 #define SEMCTL           3
17 #define MSGSND          11
18 #define MSGRCV          12
19 #define MSGGET          13
20 #define MSGCTL          14
21 #define SHMAT           21
22 #define SHMDT           22
23 #define SHMGET          23
24 #define SHMCTL          24
25
26 /* Used by the DIPC package, try and avoid reusing it */
27 #define DIPC            25
28
29 /* We don't need to maintain backward compatibility on 64bit, we've started fresh */
30 #define IPCCALL(version,op)     (op)
31
32 #endif