diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-03-23 03:45:50 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-03-24 17:25:36 +0100 |
commit | f83a396d06d499029fe6d32e326605a2b5ca4eff (patch) | |
tree | 8e3d22c32c3c513670a4b35291099ae0c0fa0c68 /ipc/util.h | |
parent | msg: Move struct msg_queue into ipc/msg.c (diff) | |
download | linux-f83a396d06d499029fe6d32e326605a2b5ca4eff.tar.xz linux-f83a396d06d499029fe6d32e326605a2b5ca4eff.zip |
ipc: Move IPCMNI from include/ipc.h into ipc/util.h
The definition IPCMNI is only used in ipc/util.h and ipc/util.c. So
there is no reason to keep it in a header file that the whole kernel
can see. Move it into util.h to simplify future maintenance.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'ipc/util.h')
-rw-r--r-- | ipc/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/util.h b/ipc/util.h index 89b8ec176fc4..959c10eb9cc1 100644 --- a/ipc/util.h +++ b/ipc/util.h @@ -15,6 +15,7 @@ #include <linux/err.h> #include <linux/ipc_namespace.h> +#define IPCMNI 32768 /* <= MAX_INT limit for ipc arrays (including sysctl changes) */ #define SEQ_MULTIPLIER (IPCMNI) int sem_init(void); |