diff options
-rw-r--r-- | arch/x86/include/uapi/asm/sembuf.h | 10 | ||||
-rw-r--r-- | include/uapi/asm-generic/ipcbuf.h | 4 | ||||
-rw-r--r-- | include/uapi/asm-generic/msgbuf.h | 10 | ||||
-rw-r--r-- | include/uapi/asm-generic/shmbuf.h | 24 | ||||
-rw-r--r-- | include/uapi/linux/mqueue.h | 10 | ||||
-rw-r--r-- | include/uapi/linux/msg.h | 4 | ||||
-rw-r--r-- | include/uapi/linux/resource.h | 32 | ||||
-rw-r--r-- | include/uapi/linux/shm.h | 10 | ||||
-rw-r--r-- | include/uapi/linux/timex.h | 34 |
9 files changed, 69 insertions, 69 deletions
diff --git a/arch/x86/include/uapi/asm/sembuf.h b/arch/x86/include/uapi/asm/sembuf.h index ee50c801f7b7..cc2d6a3aeae7 100644 --- a/arch/x86/include/uapi/asm/sembuf.h +++ b/arch/x86/include/uapi/asm/sembuf.h | |||
@@ -13,12 +13,12 @@ | |||
13 | struct semid64_ds { | 13 | struct semid64_ds { |
14 | struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ | 14 | struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ |
15 | __kernel_time_t sem_otime; /* last semop time */ | 15 | __kernel_time_t sem_otime; /* last semop time */ |
16 | unsigned long __unused1; | 16 | __kernel_ulong_t __unused1; |
17 | __kernel_time_t sem_ctime; /* last change time */ | 17 | __kernel_time_t sem_ctime; /* last change time */ |
18 | unsigned long __unused2; | 18 | __kernel_ulong_t __unused2; |
19 | unsigned long sem_nsems; /* no. of semaphores in array */ | 19 | __kernel_ulong_t sem_nsems; /* no. of semaphores in array */ |
20 | unsigned long __unused3; | 20 | __kernel_ulong_t __unused3; |
21 | unsigned long __unused4; | 21 | __kernel_ulong_t __unused4; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | #endif /* _ASM_X86_SEMBUF_H */ | 24 | #endif /* _ASM_X86_SEMBUF_H */ |
diff --git a/include/uapi/asm-generic/ipcbuf.h b/include/uapi/asm-generic/ipcbuf.h index 76982b2a1b58..3dbcc1e771c0 100644 --- a/include/uapi/asm-generic/ipcbuf.h +++ b/include/uapi/asm-generic/ipcbuf.h | |||
@@ -27,8 +27,8 @@ struct ipc64_perm { | |||
27 | unsigned char __pad1[4 - sizeof(__kernel_mode_t)]; | 27 | unsigned char __pad1[4 - sizeof(__kernel_mode_t)]; |
28 | unsigned short seq; | 28 | unsigned short seq; |
29 | unsigned short __pad2; | 29 | unsigned short __pad2; |
30 | unsigned long __unused1; | 30 | __kernel_ulong_t __unused1; |
31 | unsigned long __unused2; | 31 | __kernel_ulong_t __unused2; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | #endif /* __ASM_GENERIC_IPCBUF_H */ | 34 | #endif /* __ASM_GENERIC_IPCBUF_H */ |
diff --git a/include/uapi/asm-generic/msgbuf.h b/include/uapi/asm-generic/msgbuf.h index aec850d9159e..f55ecc43c60f 100644 --- a/include/uapi/asm-generic/msgbuf.h +++ b/include/uapi/asm-generic/msgbuf.h | |||
@@ -35,13 +35,13 @@ struct msqid64_ds { | |||
35 | #if __BITS_PER_LONG != 64 | 35 | #if __BITS_PER_LONG != 64 |
36 | unsigned long __unused3; | 36 | unsigned long __unused3; |
37 | #endif | 37 | #endif |
38 | unsigned long msg_cbytes; /* current number of bytes on queue */ | 38 | __kernel_ulong_t msg_cbytes; /* current number of bytes on queue */ |
39 | unsigned long msg_qnum; /* number of messages in queue */ | 39 | __kernel_ulong_t msg_qnum; /* number of messages in queue */ |
40 | unsigned long msg_qbytes; /* max number of bytes on queue */ | 40 | __kernel_ulong_t msg_qbytes; /* max number of bytes on queue */ |
41 | __kernel_pid_t msg_lspid; /* pid of last msgsnd */ | 41 | __kernel_pid_t msg_lspid; /* pid of last msgsnd */ |
42 | __kernel_pid_t msg_lrpid; /* last receive pid */ | 42 | __kernel_pid_t msg_lrpid; /* last receive pid */ |
43 | unsigned long __unused4; | 43 | __kernel_ulong_t __unused4; |
44 | unsigned long __unused5; | 44 | __kernel_ulong_t __unused5; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | #endif /* __ASM_GENERIC_MSGBUF_H */ | 47 | #endif /* __ASM_GENERIC_MSGBUF_H */ |
diff --git a/include/uapi/asm-generic/shmbuf.h b/include/uapi/asm-generic/shmbuf.h index 5768fa60ac82..7e9fb2f0853b 100644 --- a/include/uapi/asm-generic/shmbuf.h +++ b/include/uapi/asm-generic/shmbuf.h | |||
@@ -39,21 +39,21 @@ struct shmid64_ds { | |||
39 | #endif | 39 | #endif |
40 | __kernel_pid_t shm_cpid; /* pid of creator */ | 40 | __kernel_pid_t shm_cpid; /* pid of creator */ |
41 | __kernel_pid_t shm_lpid; /* pid of last operator */ | 41 | __kernel_pid_t shm_lpid; /* pid of last operator */ |
42 | unsigned long shm_nattch; /* no. of current attaches */ | 42 | __kernel_ulong_t shm_nattch; /* no. of current attaches */ |
43 | unsigned long __unused4; | 43 | __kernel_ulong_t __unused4; |
44 | unsigned long __unused5; | 44 | __kernel_ulong_t __unused5; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | struct shminfo64 { | 47 | struct shminfo64 { |
48 | unsigned long shmmax; | 48 | __kernel_ulong_t shmmax; |
49 | unsigned long shmmin; | 49 | __kernel_ulong_t shmmin; |
50 | unsigned long shmmni; | 50 | __kernel_ulong_t shmmni; |
51 | unsigned long shmseg; | 51 | __kernel_ulong_t shmseg; |
52 | unsigned long shmall; | 52 | __kernel_ulong_t shmall; |
53 | unsigned long __unused1; | 53 | __kernel_ulong_t __unused1; |
54 | unsigned long __unused2; | 54 | __kernel_ulong_t __unused2; |
55 | unsigned long __unused3; | 55 | __kernel_ulong_t __unused3; |
56 | unsigned long __unused4; | 56 | __kernel_ulong_t __unused4; |
57 | }; | 57 | }; |
58 | 58 | ||
59 | #endif /* __ASM_GENERIC_SHMBUF_H */ | 59 | #endif /* __ASM_GENERIC_SHMBUF_H */ |
diff --git a/include/uapi/linux/mqueue.h b/include/uapi/linux/mqueue.h index 8b5a79615fbf..d0a2b8e89813 100644 --- a/include/uapi/linux/mqueue.h +++ b/include/uapi/linux/mqueue.h | |||
@@ -23,11 +23,11 @@ | |||
23 | #define MQ_BYTES_MAX 819200 | 23 | #define MQ_BYTES_MAX 819200 |
24 | 24 | ||
25 | struct mq_attr { | 25 | struct mq_attr { |
26 | long mq_flags; /* message queue flags */ | 26 | __kernel_long_t mq_flags; /* message queue flags */ |
27 | long mq_maxmsg; /* maximum number of messages */ | 27 | __kernel_long_t mq_maxmsg; /* maximum number of messages */ |
28 | long mq_msgsize; /* maximum message size */ | 28 | __kernel_long_t mq_msgsize; /* maximum message size */ |
29 | long mq_curmsgs; /* number of messages currently queued */ | 29 | __kernel_long_t mq_curmsgs; /* number of messages currently queued */ |
30 | long __reserved[4]; /* ignored for input, zeroed for output */ | 30 | __kernel_long_t __reserved[4]; /* ignored for input, zeroed for output */ |
31 | }; | 31 | }; |
32 | 32 | ||
33 | /* | 33 | /* |
diff --git a/include/uapi/linux/msg.h b/include/uapi/linux/msg.h index 22d95c6854e0..a70375526578 100644 --- a/include/uapi/linux/msg.h +++ b/include/uapi/linux/msg.h | |||
@@ -34,8 +34,8 @@ struct msqid_ds { | |||
34 | 34 | ||
35 | /* message buffer for msgsnd and msgrcv calls */ | 35 | /* message buffer for msgsnd and msgrcv calls */ |
36 | struct msgbuf { | 36 | struct msgbuf { |
37 | long mtype; /* type of message */ | 37 | __kernel_long_t mtype; /* type of message */ |
38 | char mtext[1]; /* message text */ | 38 | char mtext[1]; /* message text */ |
39 | }; | 39 | }; |
40 | 40 | ||
41 | /* buffer for msgctl calls IPC_INFO, MSG_INFO */ | 41 | /* buffer for msgctl calls IPC_INFO, MSG_INFO */ |
diff --git a/include/uapi/linux/resource.h b/include/uapi/linux/resource.h index e0ed28477f48..36fb3b5fb181 100644 --- a/include/uapi/linux/resource.h +++ b/include/uapi/linux/resource.h | |||
@@ -23,25 +23,25 @@ | |||
23 | struct rusage { | 23 | struct rusage { |
24 | struct timeval ru_utime; /* user time used */ | 24 | struct timeval ru_utime; /* user time used */ |
25 | struct timeval ru_stime; /* system time used */ | 25 | struct timeval ru_stime; /* system time used */ |
26 | long ru_maxrss; /* maximum resident set size */ | 26 | __kernel_long_t ru_maxrss; /* maximum resident set size */ |
27 | long ru_ixrss; /* integral shared memory size */ | 27 | __kernel_long_t ru_ixrss; /* integral shared memory size */ |
28 | long ru_idrss; /* integral unshared data size */ | 28 | __kernel_long_t ru_idrss; /* integral unshared data size */ |
29 | long ru_isrss; /* integral unshared stack size */ | 29 | __kernel_long_t ru_isrss; /* integral unshared stack size */ |
30 | long ru_minflt; /* page reclaims */ | 30 | __kernel_long_t ru_minflt; /* page reclaims */ |
31 | long ru_majflt; /* page faults */ | 31 | __kernel_long_t ru_majflt; /* page faults */ |
32 | long ru_nswap; /* swaps */ | 32 | __kernel_long_t ru_nswap; /* swaps */ |
33 | long ru_inblock; /* block input operations */ | 33 | __kernel_long_t ru_inblock; /* block input operations */ |
34 | long ru_oublock; /* block output operations */ | 34 | __kernel_long_t ru_oublock; /* block output operations */ |
35 | long ru_msgsnd; /* messages sent */ | 35 | __kernel_long_t ru_msgsnd; /* messages sent */ |
36 | long ru_msgrcv; /* messages received */ | 36 | __kernel_long_t ru_msgrcv; /* messages received */ |
37 | long ru_nsignals; /* signals received */ | 37 | __kernel_long_t ru_nsignals; /* signals received */ |
38 | long ru_nvcsw; /* voluntary context switches */ | 38 | __kernel_long_t ru_nvcsw; /* voluntary context switches */ |
39 | long ru_nivcsw; /* involuntary " */ | 39 | __kernel_long_t ru_nivcsw; /* involuntary " */ |
40 | }; | 40 | }; |
41 | 41 | ||
42 | struct rlimit { | 42 | struct rlimit { |
43 | unsigned long rlim_cur; | 43 | __kernel_ulong_t rlim_cur; |
44 | unsigned long rlim_max; | 44 | __kernel_ulong_t rlim_max; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | #define RLIM64_INFINITY (~0ULL) | 47 | #define RLIM64_INFINITY (~0ULL) |
diff --git a/include/uapi/linux/shm.h b/include/uapi/linux/shm.h index ec36fa1a83a4..78b69413f582 100644 --- a/include/uapi/linux/shm.h +++ b/include/uapi/linux/shm.h | |||
@@ -68,11 +68,11 @@ struct shminfo { | |||
68 | 68 | ||
69 | struct shm_info { | 69 | struct shm_info { |
70 | int used_ids; | 70 | int used_ids; |
71 | unsigned long shm_tot; /* total allocated shm */ | 71 | __kernel_ulong_t shm_tot; /* total allocated shm */ |
72 | unsigned long shm_rss; /* total resident shm */ | 72 | __kernel_ulong_t shm_rss; /* total resident shm */ |
73 | unsigned long shm_swp; /* total swapped shm */ | 73 | __kernel_ulong_t shm_swp; /* total swapped shm */ |
74 | unsigned long swap_attempts; | 74 | __kernel_ulong_t swap_attempts; |
75 | unsigned long swap_successes; | 75 | __kernel_ulong_t swap_successes; |
76 | }; | 76 | }; |
77 | 77 | ||
78 | 78 | ||
diff --git a/include/uapi/linux/timex.h b/include/uapi/linux/timex.h index a7ea81f13711..92685d826444 100644 --- a/include/uapi/linux/timex.h +++ b/include/uapi/linux/timex.h | |||
@@ -63,27 +63,27 @@ | |||
63 | */ | 63 | */ |
64 | struct timex { | 64 | struct timex { |
65 | unsigned int modes; /* mode selector */ | 65 | unsigned int modes; /* mode selector */ |
66 | long offset; /* time offset (usec) */ | 66 | __kernel_long_t offset; /* time offset (usec) */ |
67 | long freq; /* frequency offset (scaled ppm) */ | 67 | __kernel_long_t freq; /* frequency offset (scaled ppm) */ |
68 | long maxerror; /* maximum error (usec) */ | 68 | __kernel_long_t maxerror;/* maximum error (usec) */ |
69 | long esterror; /* estimated error (usec) */ | 69 | __kernel_long_t esterror;/* estimated error (usec) */ |
70 | int status; /* clock command/status */ | 70 | int status; /* clock command/status */ |
71 | long constant; /* pll time constant */ | 71 | __kernel_long_t constant;/* pll time constant */ |
72 | long precision; /* clock precision (usec) (read only) */ | 72 | __kernel_long_t precision;/* clock precision (usec) (read only) */ |
73 | long tolerance; /* clock frequency tolerance (ppm) | 73 | __kernel_long_t tolerance;/* clock frequency tolerance (ppm) |
74 | * (read only) | 74 | * (read only) |
75 | */ | 75 | */ |
76 | struct timeval time; /* (read only, except for ADJ_SETOFFSET) */ | 76 | struct timeval time; /* (read only, except for ADJ_SETOFFSET) */ |
77 | long tick; /* (modified) usecs between clock ticks */ | 77 | __kernel_long_t tick; /* (modified) usecs between clock ticks */ |
78 | 78 | ||
79 | long ppsfreq; /* pps frequency (scaled ppm) (ro) */ | 79 | __kernel_long_t ppsfreq;/* pps frequency (scaled ppm) (ro) */ |
80 | long jitter; /* pps jitter (us) (ro) */ | 80 | __kernel_long_t jitter; /* pps jitter (us) (ro) */ |
81 | int shift; /* interval duration (s) (shift) (ro) */ | 81 | int shift; /* interval duration (s) (shift) (ro) */ |
82 | long stabil; /* pps stability (scaled ppm) (ro) */ | 82 | __kernel_long_t stabil; /* pps stability (scaled ppm) (ro) */ |
83 | long jitcnt; /* jitter limit exceeded (ro) */ | 83 | __kernel_long_t jitcnt; /* jitter limit exceeded (ro) */ |
84 | long calcnt; /* calibration intervals (ro) */ | 84 | __kernel_long_t calcnt; /* calibration intervals (ro) */ |
85 | long errcnt; /* calibration errors (ro) */ | 85 | __kernel_long_t errcnt; /* calibration errors (ro) */ |
86 | long stbcnt; /* stability limit exceeded (ro) */ | 86 | __kernel_long_t stbcnt; /* stability limit exceeded (ro) */ |
87 | 87 | ||
88 | int tai; /* TAI offset (ro) */ | 88 | int tai; /* TAI offset (ro) */ |
89 | 89 | ||