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 /include/asm-generic | |
| 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>
Diffstat (limited to 'include/asm-generic')
36 files changed, 13 insertions, 3027 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/auxvec.h b/include/asm-generic/auxvec.h deleted file mode 100644 index b99573b0ad12..000000000000 --- a/include/asm-generic/auxvec.h +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | #ifndef __ASM_GENERIC_AUXVEC_H | ||
| 2 | #define __ASM_GENERIC_AUXVEC_H | ||
| 3 | /* | ||
| 4 | * Not all architectures need their own auxvec.h, the most | ||
| 5 | * common definitions are already in linux/auxvec.h. | ||
| 6 | */ | ||
| 7 | |||
| 8 | #endif /* __ASM_GENERIC_AUXVEC_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/errno-base.h b/include/asm-generic/errno-base.h deleted file mode 100644 index 65115978510f..000000000000 --- a/include/asm-generic/errno-base.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | #ifndef _ASM_GENERIC_ERRNO_BASE_H | ||
| 2 | #define _ASM_GENERIC_ERRNO_BASE_H | ||
| 3 | |||
| 4 | #define EPERM 1 /* Operation not permitted */ | ||
| 5 | #define ENOENT 2 /* No such file or directory */ | ||
| 6 | #define ESRCH 3 /* No such process */ | ||
| 7 | #define EINTR 4 /* Interrupted system call */ | ||
| 8 | #define EIO 5 /* I/O error */ | ||
| 9 | #define ENXIO 6 /* No such device or address */ | ||
| 10 | #define E2BIG 7 /* Argument list too long */ | ||
| 11 | #define ENOEXEC 8 /* Exec format error */ | ||
| 12 | #define EBADF 9 /* Bad file number */ | ||
| 13 | #define ECHILD 10 /* No child processes */ | ||
| 14 | #define EAGAIN 11 /* Try again */ | ||
| 15 | #define ENOMEM 12 /* Out of memory */ | ||
| 16 | #define EACCES 13 /* Permission denied */ | ||
| 17 | #define EFAULT 14 /* Bad address */ | ||
| 18 | #define ENOTBLK 15 /* Block device required */ | ||
| 19 | #define EBUSY 16 /* Device or resource busy */ | ||
| 20 | #define EEXIST 17 /* File exists */ | ||
| 21 | #define EXDEV 18 /* Cross-device link */ | ||
| 22 | #define ENODEV 19 /* No such device */ | ||
| 23 | #define ENOTDIR 20 /* Not a directory */ | ||
| 24 | #define EISDIR 21 /* Is a directory */ | ||
| 25 | #define EINVAL 22 /* Invalid argument */ | ||
| 26 | #define ENFILE 23 /* File table overflow */ | ||
| 27 | #define EMFILE 24 /* Too many open files */ | ||
| 28 | #define ENOTTY 25 /* Not a typewriter */ | ||
| 29 | #define ETXTBSY 26 /* Text file busy */ | ||
| 30 | #define EFBIG 27 /* File too large */ | ||
| 31 | #define ENOSPC 28 /* No space left on device */ | ||
| 32 | #define ESPIPE 29 /* Illegal seek */ | ||
| 33 | #define EROFS 30 /* Read-only file system */ | ||
| 34 | #define EMLINK 31 /* Too many links */ | ||
| 35 | #define EPIPE 32 /* Broken pipe */ | ||
| 36 | #define EDOM 33 /* Math argument out of domain of func */ | ||
| 37 | #define ERANGE 34 /* Math result not representable */ | ||
| 38 | |||
| 39 | #endif | ||
diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h deleted file mode 100644 index a1331ce50445..000000000000 --- a/include/asm-generic/errno.h +++ /dev/null | |||
| @@ -1,113 +0,0 @@ | |||
| 1 | #ifndef _ASM_GENERIC_ERRNO_H | ||
| 2 | #define _ASM_GENERIC_ERRNO_H | ||
| 3 | |||
| 4 | #include <asm-generic/errno-base.h> | ||
| 5 | |||
| 6 | #define EDEADLK 35 /* Resource deadlock would occur */ | ||
| 7 | #define ENAMETOOLONG 36 /* File name too long */ | ||
| 8 | #define ENOLCK 37 /* No record locks available */ | ||
| 9 | #define ENOSYS 38 /* Function not implemented */ | ||
| 10 | #define ENOTEMPTY 39 /* Directory not empty */ | ||
| 11 | #define ELOOP 40 /* Too many symbolic links encountered */ | ||
| 12 | #define EWOULDBLOCK EAGAIN /* Operation would block */ | ||
| 13 | #define ENOMSG 42 /* No message of desired type */ | ||
| 14 | #define EIDRM 43 /* Identifier removed */ | ||
