diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2012-10-11 05:15:03 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2012-10-11 05:15:03 -0400 |
| commit | 35bafbee4b4732a2820bbd0ef141c8192ff29731 (patch) | |
| tree | dc4709ea5c1faeb357e17d07a73f2e27eb6aad52 /arch/mips/include | |
| parent | 49a94e9482e70777ae0e03351a0c2c18bbdfebda (diff) | |
| parent | 61730c538f8281efa7ac12596da9f3f9a31b9272 (diff) | |
Merge tag 'disintegrate-mips-20121009' of git://git.infradead.org/users/dhowells/linux-headers into mips-for-linux-next
UAPI Disintegration 2012-10-09
Patchwork: https://patchwork.linux-mips.org/patch/4414/
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/Kbuild | 5 | ||||
| -rw-r--r-- | arch/mips/include/asm/errno.h | 120 | ||||
| -rw-r--r-- | arch/mips/include/asm/ptrace.h | 107 | ||||
| -rw-r--r-- | arch/mips/include/asm/setup.h | 5 | ||||
| -rw-r--r-- | arch/mips/include/asm/sigcontext.h | 66 | ||||
| -rw-r--r-- | arch/mips/include/asm/siginfo.h | 104 | ||||
| -rw-r--r-- | arch/mips/include/asm/signal.h | 115 | ||||
| -rw-r--r-- | arch/mips/include/asm/socket.h | 83 | ||||
| -rw-r--r-- | arch/mips/include/asm/termios.h | 73 | ||||
| -rw-r--r-- | arch/mips/include/asm/types.h | 16 | ||||
| -rw-r--r-- | arch/mips/include/asm/unistd.h | 1022 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/Kbuild | 34 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/auxvec.h (renamed from arch/mips/include/asm/auxvec.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/bitsperlong.h (renamed from arch/mips/include/asm/bitsperlong.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/byteorder.h (renamed from arch/mips/include/asm/byteorder.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/cachectl.h (renamed from arch/mips/include/asm/cachectl.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/errno.h | 129 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/fcntl.h (renamed from arch/mips/include/asm/fcntl.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/ioctl.h (renamed from arch/mips/include/asm/ioctl.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/ioctls.h (renamed from arch/mips/include/asm/ioctls.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/ipcbuf.h (renamed from arch/mips/include/asm/ipcbuf.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/kvm_para.h (renamed from arch/mips/include/asm/kvm_para.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/mman.h (renamed from arch/mips/include/asm/mman.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/msgbuf.h (renamed from arch/mips/include/asm/msgbuf.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/param.h (renamed from arch/mips/include/asm/param.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/poll.h (renamed from arch/mips/include/asm/poll.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/posix_types.h (renamed from arch/mips/include/asm/posix_types.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/ptrace.h | 116 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/resource.h (renamed from arch/mips/include/asm/resource.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/sembuf.h (renamed from arch/mips/include/asm/sembuf.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/setup.h | 7 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/sgidefs.h (renamed from arch/mips/include/asm/sgidefs.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/shmbuf.h (renamed from arch/mips/include/asm/shmbuf.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/sigcontext.h | 78 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/siginfo.h | 114 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/signal.h | 123 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/socket.h | 93 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/sockios.h (renamed from arch/mips/include/asm/sockios.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/stat.h (renamed from arch/mips/include/asm/stat.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/statfs.h (renamed from arch/mips/include/asm/statfs.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/swab.h (renamed from arch/mips/include/asm/swab.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/sysmips.h (renamed from arch/mips/include/asm/sysmips.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/termbits.h (renamed from arch/mips/include/asm/termbits.h) | 0 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/termios.h | 80 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/types.h | 27 | ||||
| -rw-r--r-- | arch/mips/include/uapi/asm/unistd.h | 1035 |
46 files changed, 1846 insertions, 1706 deletions
diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index f53f9ca7399..e69de29bb2d 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | include include/asm-generic/Kbuild.asm | ||
| 2 | |||
| 3 | header-y += cachectl.h | ||
| 4 | header-y += sgidefs.h | ||
| 5 | header-y += sysmips.h | ||
diff --git a/arch/mips/include/asm/errno.h b/arch/mips/include/asm/errno.h index 6dcd3583ed0..21d91cdfe3c 100644 --- a/arch/mips/include/asm/errno.h +++ b/arch/mips/include/asm/errno.h | |||
| @@ -8,128 +8,10 @@ | |||
| 8 | #ifndef _ASM_ERRNO_H | 8 | #ifndef _ASM_ERRNO_H |
| 9 | #define _ASM_ERRNO_H | 9 | #define _ASM_ERRNO_H |
| 10 | 10 | ||
| 11 | /* | 11 | #include <uapi/asm/errno.h> |
| 12 | * These error numbers are intended to be MIPS ABI compatible | ||
| 13 | */ | ||
| 14 | |||
| 15 | #include <asm-generic/errno-base.h> | ||
| 16 | |||
| 17 | #define ENOMSG 35 /* No message of desired type */ | ||
| 18 | #define EIDRM 36 /* Identifier removed */ | ||
| 19 | #define ECHRNG 37 /* Channel number out of range */ | ||
| 20 | #define EL2NSYNC 38 /* Level 2 not synchronized */ | ||
| 21 | #define EL3HLT 39 /* Level 3 halted */ | ||
| 22 | #define EL3RST 40 /* Level 3 reset */ | ||
| 23 | #define ELNRNG 41 /* Link number out of range */ | ||
| 24 | #define EUNATCH 42 /* Protocol driver not attached */ | ||
| 25 | #define ENOCSI 43 /* No CSI structure available */ | ||
| 26 | #define EL2HLT 44 /* Level 2 halted */ | ||
| 27 | #define EDEADLK 45 /* Resource deadlock would occur */ | ||
| 28 | #define ENOLCK 46 /* No record locks available */ | ||
| 29 | #define EBADE 50 /* Invalid exchange */ | ||
| 30 | #define EBADR 51 /* Invalid request descriptor */ | ||
| 31 | #define EXFULL 52 /* Exchange full */ | ||
| 32 | #define ENOANO 53 /* No anode */ | ||
| 33 | #define EBADRQC 54 /* Invalid request code */ | ||
| 34 | #define EBADSLT 55 /* Invalid slot */ | ||
| 35 | #define EDEADLOCK 56 /* File locking deadlock error */ | ||
| 36 | #define EBFONT 59 /* Bad font file format */ | ||
| 37 | #define ENOSTR 60 /* Device not a stream */ | ||
| 38 | #define ENODATA 61 /* No data available */ | ||
| 39 | #define ETIME 62 /* Timer expired */ | ||
| 40 | #define ENOSR 63 /* Out of streams resources */ | ||
| 41 | #define ENONET 64 /* Machine is not on the network */ | ||
| 42 | #define ENOPKG 65 /* Package not installed */ | ||
| 43 | #define EREMOTE 66 /* Object is remote */ | ||
| 44 | #define ENOLINK 67 /* Link has been severed */ | ||
| 45 | #define EADV 68 /* Advertise error */ | ||
| 46 | #define ESRMNT 69 /* Srmount error */ | ||
| 47 | #define ECOMM 70 /* Communication error on send */ | ||
| 48 | #define EPROTO 71 /* Protocol error */ | ||
| 49 | #define EDOTDOT 73 /* RFS specific error */ | ||
| 50 | #define EMULTIHOP 74 /* Multihop attempted */ | ||
| 51 | #define EBADMSG 77 /* Not a data message */ | ||
| 52 | #define ENAMETOOLONG 78 /* File name too long */ | ||
| 53 | #define EOVERFLOW 79 /* Value too large for defined data type */ | ||
| 54 | #define ENOTUNIQ 80 /* Name not unique on network */ | ||
| 55 | #define EBADFD 81 /* File descriptor in bad state */ | ||
| 56 | #define EREMCHG 82 /* Remote address changed */ | ||
| 57 | #define ELIBACC 83 /* Can not access a needed shared library */ | ||
| 58 | #define ELIBBAD 84 /* Accessing a corrupted shared library */ | ||
| 59 | #define ELIBSCN 85 /* .lib section in a.out corrupted */ | ||
| 60 | #define ELIBMAX 86 /* Attempting to link in too many shared libraries */ | ||
| 61 | #define ELIBEXEC 87 /* Cannot exec a shared library directly */ | ||
| 62 | #define EILSEQ 88 /* Illegal byte sequence */ | ||
| 63 | #define ENOSYS 89 /* Function not implemented */ | ||
| 64 | #define ELOOP 90 /* Too many symbolic links encountered */ | ||
| 65 | #define ERESTART 91 /* Interrupted system call should be restarted */ | ||
| 66 | #define ESTRPIPE 92 /* Streams pipe error */ | ||
| 67 | #define ENOTEMPTY 93 /* Directory not empty */ | ||
| 68 | #define EUSERS 94 /* Too many users */ | ||
| 69 | #define ENOTSOCK 95 /* Socket operation on non-socket */ | ||
| 70 | #define EDESTADDRREQ 96 /* Destination address required */ | ||
| 71 | #define EMSGSIZE 97 /* Message too long */ | ||
| 72 | #define EPROTOTYPE 98 /* Protocol wrong type for socket */ | ||
| 73 | #define ENOPROTOOPT 99 /* Protocol not available */ | ||
| 74 | #define EPROTONOSUPPORT 120 /* Protocol not supported */ | ||
| 75 | #define ESOCKTNOSUPPORT 121 /* Socket type not supported */ | ||
| 76 | #define EOPNOTSUPP 122 /* Operation not supported on transport endpoint */ | ||
| 77 | #define EPFNOSUPPORT 123 /* Protocol family not supported */ | ||
| 78 | #define EAFNOSUPPORT 124 /* Address family not supported by protocol */ | ||
| 79 | #define EADDRINUSE 125 /* Address already in use */ | ||
| 80 | #define EADDRNOTAVAIL 126 /* Cannot assign requested address */ | ||
| 81 | #define ENETDOWN 127 /* Network is down */ | ||
| 82 | #define ENETUNREACH 128 /* Network is unreachable */ | ||
| 83 | #define ENETRESET 129 /* Network dropped connection because of reset */ | ||
| 84 | #define ECONNABORTED 130 /* Software caused connection abort */ | ||
| 85 | #define ECONNRESET 131 /* Connection reset by peer */ | ||
| 86 | #define ENOBUFS 132 /* No buffer space available */ | ||
| 87 | #define EISCONN 133 /* Transport endpoint is already connected */ | ||
| 88 | #define ENOTCONN 134 /* Transport endpoint is not connected */ | ||
| 89 | #define EUCLEAN 135 /* Structure needs cleaning */ | ||
| 90 | #define ENOTNAM 137 /* Not a XENIX named type file */ | ||
| 91 | #define ENAVAIL 138 /* No XENIX semaphores available */ | ||
| 92 | #define EISNAM 139 /* Is a named type file */ | ||
| 93 | #define EREMOTEIO 140 /* Remote I/O error */ | ||
| 94 | #define EINIT 141 /* Reserved */ | ||
| 95 | #define EREMDEV 142 /* Error 142 */ | ||
| 96 | #define ESHUTDOWN 143 /* Cannot send after transport endpoint shutdown */ | ||
| 97 | #define ETOOMANYREFS 144 /* Too many references: cannot splice */ | ||
| 98 | #define ETIMEDOUT 145 /* Connection timed out */ | ||
| 99 | #define ECONNREFUSED 146 /* Connection refused */ | ||
| 100 | #define EHOSTDOWN 147 /* Host is down */ | ||
| 101 | #define EHOSTUNREACH 148 /* No route to host */ | ||
| 102 | #define EWOULDBLOCK EAGAIN /* Operation would block */ | ||
| 103 | #define EALREADY 149 /* Operation already in progress */ | ||
| 104 | #define EINPROGRESS 150 /* Operation now in progress */ | ||
| 105 | #define ESTALE 151 /* Stale NFS file handle */ | ||
| 106 | #define ECANCELED 158 /* AIO operation canceled */ | ||
| 107 | |||
| 108 | /* | ||
| 109 | * These error are Linux extensions. | ||
| 110 | */ | ||
| 111 | #define ENOMEDIUM 159 /* No medium found */ | ||
| 112 | #define EMEDIUMTYPE 160 /* Wrong medium type */ | ||
| 113 | #define ENOKEY 161 /* Required key not available */ | ||
| 114 | #define EKEYEXPIRED 162 /* Key has expired */ | ||
| 115 | #define EKEYREVOKED 163 /* Key has been revoked */ | ||
