1
2 #ifndef __ASM_X86_SHMBUF_H
3 #define __ASM_X86_SHMBUF_H
4
5 #if !defined(__x86_64__) || !defined(__ILP32__)
6 #include <asm-generic/shmbuf.h>
7 #else
8
9
10
11
12
13
14
15
16 struct shmid64_ds {
17 struct ipc64_perm shm_perm;
18 size_t shm_segsz;
19 __kernel_time_t shm_atime;
20 __kernel_time_t shm_dtime;
21 __kernel_time_t shm_ctime;
22 __kernel_pid_t shm_cpid;
23 __kernel_pid_t shm_lpid;
24 __kernel_ulong_t shm_nattch;
25 __kernel_ulong_t __unused4;
26 __kernel_ulong_t __unused5;
27 };
28
29 struct shminfo64 {
30 __kernel_ulong_t shmmax;
31 __kernel_ulong_t shmmin;
32 __kernel_ulong_t shmmni;
33 __kernel_ulong_t shmseg;
34 __kernel_ulong_t shmall;
35 __kernel_ulong_t __unused1;
36 __kernel_ulong_t __unused2;
37 __kernel_ulong_t __unused3;
38 __kernel_ulong_t __unused4;
39 };
40
41 #endif
42
43 #endif