diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-03-22 22:45:50 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-03-24 12:25:36 -0400 |
commit | f83a396d06d499029fe6d32e326605a2b5ca4eff (patch) | |
tree | 8e3d22c32c3c513670a4b35291099ae0c0fa0c68 /include/linux/ipc.h | |
parent | 34b56df922b10ac2876f268c522951785bf333fd (diff) |
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 'include/linux/ipc.h')
-rw-r--r-- | include/linux/ipc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ipc.h b/include/linux/ipc.h index 821b2f260992..6cc2df7f7ac9 100644 --- a/include/linux/ipc.h +++ b/include/linux/ipc.h | |||
@@ -8,8 +8,6 @@ | |||
8 | #include <uapi/linux/ipc.h> | 8 | #include <uapi/linux/ipc.h> |
9 | #include <linux/refcount.h> | 9 | #include <linux/refcount.h> |
10 | 10 | ||
11 | #define IPCMNI 32768 /* <= MAX_INT limit for ipc arrays (including sysctl changes) */ | ||
12 | |||
13 | /* used by in-kernel data structures */ | 11 | /* used by in-kernel data structures */ |
14 | struct kern_ipc_perm { | 12 | struct kern_ipc_perm { |
15 | spinlock_t lock; | 13 | spinlock_t lock; |