mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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" <[email protected]>
This commit is contained in:
parent
34b56df922
commit
f83a396d06
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue