diff options
| author | David Howells <dhowells@redhat.com> | 2012-10-04 13:20:15 -0400 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2012-10-04 13:20:15 -0400 |
| commit | 8a1ab3155c2ac7fbe5f2038d6e26efeb607a1498 (patch) | |
| tree | 42ef93e164b8b2a01adab30db4b33f370f4280d7 | |
| parent | f3dfd599af993385b40fc7a1c947afc12729bc4d (diff) | |
UAPI: (Scripted) Disintegrate include/asm-generic
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
| -rw-r--r-- | include/asm-generic/Kbuild | 35 | ||||
| -rw-r--r-- | include/asm-generic/bitsperlong.h | 13 | ||||
| -rw-r--r-- | include/asm-generic/int-l64.h | 26 | ||||
| -rw-r--r-- | include/asm-generic/int-ll64.h | 31 | ||||
| -rw-r--r-- | include/asm-generic/ioctl.h | 95 | ||||
| -rw-r--r-- | include/asm-generic/kvm_para.h | 5 | ||||
| -rw-r--r-- | include/asm-generic/param.h | 17 | ||||
| -rw-r--r-- | include/asm-generic/resource.h | 66 | ||||
| -rw-r--r-- | include/asm-generic/siginfo.h | 297 | ||||
| -rw-r--r-- | include/asm-generic/signal.h | 117 | ||||
| -rw-r--r-- | include/asm-generic/statfs.h | 81 | ||||
| -rw-r--r-- | include/asm-generic/termios.h | 49 | ||||
| -rw-r--r-- | include/asm-generic/unistd.h | 907 | ||||
| -rw-r--r-- | include/uapi/asm-generic/Kbuild | 35 | ||||
| -rw-r--r-- | include/uapi/asm-generic/auxvec.h (renamed from include/asm-generic/auxvec.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/bitsperlong.h | 15 | ||||
| -rw-r--r-- | include/uapi/asm-generic/errno-base.h (renamed from include/asm-generic/errno-base.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/errno.h (renamed from include/asm-generic/errno.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/fcntl.h (renamed from include/asm-generic/fcntl.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/int-l64.h | 34 | ||||
| -rw-r--r-- | include/uapi/asm-generic/int-ll64.h | 39 | ||||
| -rw-r--r-- | include/uapi/asm-generic/ioctl.h | 98 | ||||
| -rw-r--r-- | include/uapi/asm-generic/ioctls.h (renamed from include/asm-generic/ioctls.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/ipcbuf.h (renamed from include/asm-generic/ipcbuf.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/kvm_para.h | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/mman-common.h (renamed from include/asm-generic/mman-common.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/mman.h (renamed from include/asm-generic/mman.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/msgbuf.h (renamed from include/asm-generic/msgbuf.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/param.h | 19 | ||||
| -rw-r--r-- | include/uapi/asm-generic/poll.h (renamed from include/asm-generic/poll.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/posix_types.h (renamed from include/asm-generic/posix_types.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/resource.h | 68 | ||||
| -rw-r--r-- | include/uapi/asm-generic/sembuf.h (renamed from include/asm-generic/sembuf.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/setup.h (renamed from include/asm-generic/setup.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/shmbuf.h (renamed from include/asm-generic/shmbuf.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/shmparam.h (renamed from include/asm-generic/shmparam.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/siginfo.h | 298 | ||||
| -rw-r--r-- | include/uapi/asm-generic/signal-defs.h (renamed from include/asm-generic/signal-defs.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/signal.h | 123 | ||||
| -rw-r--r-- | include/uapi/asm-generic/socket.h (renamed from include/asm-generic/socket.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/sockios.h (renamed from include/asm-generic/sockios.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/stat.h (renamed from include/asm-generic/stat.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/statfs.h | 83 | ||||
| -rw-r--r-- | include/uapi/asm-generic/swab.h (renamed from include/asm-generic/swab.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/termbits.h (renamed from include/asm-generic/termbits.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/termios.h | 50 | ||||
| -rw-r--r-- | include/uapi/asm-generic/types.h (renamed from include/asm-generic/types.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/ucontext.h (renamed from include/asm-generic/ucontext.h) | 0 | ||||
| -rw-r--r-- | include/uapi/asm-generic/unistd.h | 902 | ||||
| -rw-r--r-- | security/apparmor/Makefile | 2 |
50 files changed, 1778 insertions, 1727 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild index 2c85a0f647b7..e69de29bb2d1 100644 --- a/include/asm-generic/Kbuild +++ b/include/asm-generic/Kbuild | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | header-y += auxvec.h | ||
| 2 | header-y += bitsperlong.h | ||
| 3 | header-y += errno-base.h | ||
| 4 | header-y += errno.h | ||
| 5 | header-y += fcntl.h | ||
| 6 | header-y += int-l64.h | ||
| 7 | header-y += int-ll64.h | ||
| 8 | header-y += ioctl.h | ||
| 9 | header-y += ioctls.h | ||
| 10 | header-y += ipcbuf.h | ||
| 11 | header-y += kvm_para.h | ||
| 12 | header-y += mman-common.h | ||
| 13 | header-y += mman.h | ||
| 14 | header-y += msgbuf.h | ||
| 15 | header-y += param.h | ||
| 16 | header-y += poll.h | ||
| 17 | header-y += posix_types.h | ||
| 18 | header-y += resource.h | ||
| 19 | header-y += sembuf.h | ||
| 20 | header-y += setup.h | ||
| 21 | header-y += shmbuf.h | ||
| 22 | header-y += shmparam.h | ||
| 23 | header-y += siginfo.h | ||
| 24 | header-y += signal-defs.h | ||
| 25 | header-y += signal.h | ||
| 26 | header-y += socket.h | ||
| 27 | header-y += sockios.h | ||
| 28 | header-y += stat.h | ||
| 29 | header-y += statfs.h | ||
| 30 | header-y += swab.h | ||
| 31 | header-y += termbits.h | ||
| 32 | header-y += termios.h | ||
| 33 | header-y += types.h | ||
| 34 | header-y += ucontext.h | ||
| 35 | header-y += unistd.h | ||
diff --git a/include/asm-generic/bitsperlong.h b/include/asm-generic/bitsperlong.h index a7b0914348fd..d1d70aa19021 100644 --- a/include/asm-generic/bitsperlong.h +++ b/include/asm-generic/bitsperlong.h | |||
| @@ -1,18 +1,8 @@ | |||
| 1 | #ifndef __ASM_GENERIC_BITS_PER_LONG | 1 | #ifndef __ASM_GENERIC_BITS_PER_LONG |
| 2 | #define __ASM_GENERIC_BITS_PER_LONG | 2 | #define __ASM_GENERIC_BITS_PER_LONG |
| 3 | 3 | ||
| 4 | /* | 4 | #include <uapi/asm-generic/bitsperlong.h> |
| 5 | * There seems to be no way of detecting this automatically from user | ||
| 6 | * space, so 64 bit architectures should override this in their | ||
| 7 | * bitsperlong.h. In particular, an architecture that supports | ||
| 8 | * both 32 and 64 bit user space must not rely on CONFIG_64BIT | ||
| 9 | * to decide it, but rather check a compiler provided macro. | ||
| 10 | */ | ||
| 11 | #ifndef __BITS_PER_LONG | ||
| 12 | #define __BITS_PER_LONG 32 | ||
| 13 | #endif | ||
| 14 | 5 | ||
| 15 | #ifdef __KERNEL__ | ||
| 16 | 6 | ||
| 17 | #ifdef CONFIG_64BIT | 7 | #ifdef CONFIG_64BIT |
| 18 | #define BITS_PER_LONG 64 | 8 | #define BITS_PER_LONG 64 |
| @@ -32,5 +22,4 @@ | |||
| 32 | #define BITS_PER_LONG_LONG 64 | 22 | #define BITS_PER_LONG_LONG 64 |
| 33 | #endif | 23 | #endif |
| 34 | 24 | ||
| 35 | #endif /* __KERNEL__ */ | ||
| 36 | #endif /* __ASM_GENERIC_BITS_PER_LONG */ | 25 | #endif /* __ASM_GENERIC_BITS_PER_LONG */ |
diff --git a/include/asm-generic/int-l64.h b/include/asm-generic/int-l64.h index 1ca3efc976cc..27d4ec0dfce0 100644 --- a/include/asm-generic/int-l64.h +++ b/include/asm-generic/int-l64.h | |||
| @@ -4,33 +4,11 @@ | |||
| 4 | * Integer declarations for architectures which use "long" | 4 | * Integer declarations for architectures which use "long" |
| 5 | * for 64-bit types. | 5 | * for 64-bit types. |
| 6 | */ | 6 | */ |
| 7 | |||
| 8 | #ifndef _ASM_GENERIC_INT_L64_H | 7 | #ifndef _ASM_GENERIC_INT_L64_H |
| 9 | #define _ASM_GENERIC_INT_L64_H | 8 | #define _ASM_GENERIC_INT_L64_H |
| 10 | 9 | ||
| 11 | #include <asm/bitsperlong.h> | 10 | #include <uapi/asm-generic/int-l64.h> |
| 12 | |||
| 13 | #ifndef __ASSEMBLY__ | ||
| 14 | /* | ||
| 15 | * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the | ||
| 16 | * header files exported to user space | ||
| 17 | */ | ||
| 18 | |||
| 19 | typedef __signed__ char __s8; | ||
| 20 | typedef unsigned char __u8; | ||
| 21 | 11 | ||
| 22 | typedef __signed__ short __s16; | ||
| 23 | typedef unsigned short __u16; | ||
| 24 | |||
| 25 | typedef __signed__ int __s32; | ||
| 26 | typedef unsigned int __u32; | ||
| 27 | |||
| 28 | typedef __signed__ long __s64; | ||
| 29 | typedef unsigned long __u64; | ||
| 30 | |||
| 31 | #endif /* __ASSEMBLY__ */ | ||
| 32 | |||
| 33 | #ifdef __KERNEL__ | ||
| 34 | 12 | ||
| 35 | #ifndef __ASSEMBLY__ | 13 | #ifndef __ASSEMBLY__ |
| 36 | 14 | ||
| @@ -68,6 +46,4 @@ typedef unsigned long u64; | |||
| 68 | 46 | ||
| 69 | #endif /* __ASSEMBLY__ */ | 47 | #endif /* __ASSEMBLY__ */ |
| 70 | 48 | ||
| 71 | #endif /* __KERNEL__ */ | ||
