summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/ipc.h
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2005-06-30 11:58:57 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-30 17:45:10 +0200
commit5b0de927d9c9a72e42a4b581a897710f9ae5a6d1 (patch)
tree8a664e8026a7fdb14b29b2427c7c3e2d0c3d44d3 /include/asm-xtensa/ipc.h
parent[PATCH] xtensa: use valid_signal() (diff)
downloadlinux-5b0de927d9c9a72e42a4b581a897710f9ae5a6d1.tar.xz
linux-5b0de927d9c9a72e42a4b581a897710f9ae5a6d1.zip
[PATCH] xtensa: cleanups for errno and ipc.
I noticed this because I was doing some more ipc cleanups and I did the original errno and ipc cleanups for other architectures, so it stuck out. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--include/asm-xtensa/ipc.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/include/asm-xtensa/ipc.h b/include/asm-xtensa/ipc.h
index d37bdb4d4c9c..a9eed4e21cb9 100644
--- a/include/asm-xtensa/ipc.h
+++ b/include/asm-xtensa/ipc.h
@@ -11,24 +11,6 @@
#ifndef _XTENSA_IPC_H
#define _XTENSA_IPC_H
-struct ipc_kludge {
- struct msgbuf __user *msgp;
- long msgtyp;
-};
-
-#define SEMOP 1
-#define SEMGET 2
-#define SEMCTL 3
-#define SEMTIMEDOP 4
-#define MSGSND 11
-#define MSGRCV 12
-#define MSGGET 13
-#define MSGCTL 14
-#define SHMAT 21
-#define SHMDT 22
-#define SHMGET 23
-#define SHMCTL 24
-
-#define IPCCALL(version,op) ((version)<<16 | (op))
+#include <asm-generic/ipc.h>
#endif /* _XTENSA_IPC_H */