summaryrefslogtreecommitdiff
path: root/include/asm-frv
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-03-30 16:38:00 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-30 16:38:00 -0800
commitbdc98a74f9b8e27f98064cf4383dbaf011d64fec (patch)
tree830f8be7aa7fbe74136da2ed330c2c2b96b1510f /include/asm-frv
parent1a657b7f9dce92c3cc4ae316c4f3d3ed263700c9 (diff)
[PATCH] consolidate asm/ipc.h
All the asm*/ipc.h files are basically the same (for things that are used) so I have consolidated them all into asm-generic/ipc.h Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-frv')
-rw-r--r--include/asm-frv/ipc.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/include/asm-frv/ipc.h b/include/asm-frv/ipc.h
index 2f72065c6337..a46e3d9c2a3f 100644
--- a/include/asm-frv/ipc.h
+++ b/include/asm-frv/ipc.h
@@ -1,33 +1 @@
-#ifndef __ASM_IPC_H__
-#define __ASM_IPC_H__
-
-/*
- * These are used to wrap system calls on FR-V
- *
- * See arch/frv/kernel/sys_frv.c for ugly details..
- */
-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
-
-/* Used by the DIPC package, try and avoid reusing it */
-#define DIPC 25
-
-#define IPCCALL(version,op) ((version)<<16 | (op))
-
-#endif
-
+#include <asm-generic/ipc.h>