aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/asm-generic
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-02-02 03:45:39 -0500
committerIngo Molnar <mingo@kernel.org>2014-02-02 03:45:39 -0500
commiteaa4e4fcf1b5c60e656d93242f7fe422173f25b2 (patch)
treec05d5d6ca3f625d72a9d136b4c485d3dc9472089 /include/uapi/asm-generic
parentbe1e4e760d940c14d119bffef5eb007dfdf29046 (diff)
parent5cb480f6b488128140c940abff3c36f524a334a8 (diff)
Merge branch 'linus' into sched/core, to resolve conflicts
Conflicts: kernel/sysctl.c Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/uapi/asm-generic')
-rw-r--r--include/uapi/asm-generic/ipcbuf.h4
-rw-r--r--include/uapi/asm-generic/msgbuf.h10
-rw-r--r--include/uapi/asm-generic/shmbuf.h24
-rw-r--r--include/uapi/asm-generic/socket.h2
-rw-r--r--include/uapi/asm-generic/types.h3
5 files changed, 22 insertions, 21 deletions
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
47struct shminfo64 { 47struct 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/asm-generic/socket.h b/include/uapi/asm-generic/socket.h
index 38f14d0264c3..ea0796bdcf88 100644
--- a/include/uapi/asm-generic/socket.h
+++ b/include/uapi/asm-generic/socket.h
@@ -80,4 +80,6 @@
80 80
81#define SO_MAX_PACING_RATE 47 81#define SO_MAX_PACING_RATE 47
82 82
83#define SO_BPF_EXTENSIONS 48
84
83#endif /* __ASM_GENERIC_SOCKET_H */ 85#endif /* __ASM_GENERIC_SOCKET_H */
diff --git a/include/uapi/asm-generic/types.h b/include/uapi/asm-generic/types.h
index bd39806013b5..a3877926b0d4 100644
--- a/include/uapi/asm-generic/types.h
+++ b/include/uapi/asm-generic/types.h
@@ -1,8 +1,7 @@
1#ifndef _ASM_GENERIC_TYPES_H 1#ifndef _ASM_GENERIC_TYPES_H
2#define _ASM_GENERIC_TYPES_H 2#define _ASM_GENERIC_TYPES_H
3/* 3/*
4 * int-ll64 is used practically everywhere now, 4 * int-ll64 is used everywhere now.
5 * so use it as a reasonable default.
6 */ 5 */
7#include <asm-generic/int-ll64.h> 6#include <asm-generic/int-ll64.h>
8 7