crypto: atmel-sha - remove unnecessary static in atmel_sha_remove()
[linux-stable.git] / include / linux / ipc.h
blob5591f055e13fd0777da082846331b6d106e3a33d
1 #ifndef _LINUX_IPC_H
2 #define _LINUX_IPC_H
4 #include <linux/spinlock.h>
5 #include <linux/uidgid.h>
6 #include <uapi/linux/ipc.h>
8 #define IPCMNI 32768 /* <= MAX_INT limit for ipc arrays (including sysctl changes) */
10 /* used by in-kernel data structures */
11 struct kern_ipc_perm {
12 spinlock_t lock;
13 bool deleted;
14 int id;
15 key_t key;
16 kuid_t uid;
17 kgid_t gid;
18 kuid_t cuid;
19 kgid_t cgid;
20 umode_t mode;
21 unsigned long seq;
22 void *security;
24 struct rcu_head rcu;
25 atomic_t refcount;
26 } ____cacheline_aligned_in_smp;
28 #endif /* _LINUX_IPC_H */