remove include/asm-*/ipc.h

All asm/ipc.h files do only #include <asm-generic/ipc.h>.

This patch therefore removes all include/asm-*/ipc.h files and moves the
contents of include/asm-generic/ipc.h to include/linux/ipc.h.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk
2007-10-16 23:29:24 -07:00
committed by Linus Torvalds
parent 4af3c9cc4f
commit cba4fbbff2
47 changed files with 47 additions and 77 deletions

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -2,7 +2,6 @@ header-y += errno-base.h
header-y += errno.h
header-y += fcntl.h
header-y += ioctl.h
header-y += ipc.h
header-y += mman.h
header-y += poll.h
header-y += signal.h

View File

@@ -1,31 +0,0 @@
#ifndef _ASM_GENERIC_IPC_H
#define _ASM_GENERIC_IPC_H
/*
* These are used to wrap system calls.
*
* See architecture code 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 /* _ASM_GENERIC_IPC_H */

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -13,7 +13,6 @@ header-y += shmbuf.h
header-y += socket.h
header-y += termbits.h
header-y += fcntl.h
header-y += ipc.h
header-y += poll.h
header-y += sockios.h
header-y += ucontext.h

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -10,7 +10,6 @@ header-y += bbc.h
header-y += bpp.h
header-y += display7seg.h
header-y += envctrl.h
header-y += ipc.h
header-y += openprom.h
header-y += openpromio.h
header-y += pconf.h

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -1 +0,0 @@
#include <asm-generic/ipc.h>

View File

@@ -49,6 +49,34 @@ struct ipc_perm
#define IPC_64 0x0100 /* New version (support 32-bit UIDs, bigger
message sizes, etc. */
/*
* These are used to wrap system calls.
*
* See architecture code 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))
#ifdef __KERNEL__
#include <linux/kref.h>