aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/errtbls.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-04-20 05:14:23 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-21 18:10:15 -0400
commitec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 (patch)
treeb144d907e47f8ade53296bd19850af708692386f /arch/sparc/kernel/errtbls.c
parent3925e6fc1f774048404fdd910b0345b06c699eb4 (diff)
[SPARC]: Remove SunOS and Solaris binary support.
As per Documentation/feature-removal-schedule.txt Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/errtbls.c')
-rw-r--r--arch/sparc/kernel/errtbls.c144
1 files changed, 0 insertions, 144 deletions
diff --git a/arch/sparc/kernel/errtbls.c b/arch/sparc/kernel/errtbls.c
deleted file mode 100644
index ed14df7116e9..000000000000
--- a/arch/sparc/kernel/errtbls.c
+++ /dev/null
@@ -1,144 +0,0 @@
1/* errtbls.c: Error number conversion tables.
2 *
3 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
4 *
5 * Based upon preliminary work which is:
6 *
7 * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
8 */
9
10#include <asm/solerrno.h> /* Solaris errnos */
11
12/* Here is the table which converts between Linux error number values
13 * to the equivalent under Solaris. Note that since the Linux ones
14 * have been set up to match exactly those of SunOS, no translation
15 * table is needed for that OS.
16 */
17
18int solaris_errno[] = {
19 0,
20 SOL_EPERM,
21 SOL_ENOENT,
22 SOL_ESRCH,
23 SOL_EINTR,
24 SOL_EIO,
25 SOL_ENXIO,
26 SOL_E2BIG,
27 SOL_ENOEXEC,
28 SOL_EBADF,
29 SOL_ECHILD,
30 SOL_EAGAIN,
31 SOL_ENOMEM,
32 SOL_EACCES,
33 SOL_EFAULT,
34 SOL_NOTBLK,
35 SOL_EBUSY,
36 SOL_EEXIST,
37 SOL_EXDEV,
38 SOL_ENODEV,
39 SOL_ENOTDIR,
40 SOL_EISDIR,
41 SOL_EINVAL,
42 SOL_ENFILE,
43 SOL_EMFILE,
44 SOL_ENOTTY,
45 SOL_ETXTBSY,
46 SOL_EFBIG,
47 SOL_ENOSPC,
48 SOL_ESPIPE,
49 SOL_EROFS,
50 SOL_EMLINK,
51 SOL_EPIPE,
52 SOL_EDOM,
53 SOL_ERANGE,
54 SOL_EWOULDBLOCK,
55 SOL_EINPROGRESS,
56 SOL_EALREADY,
57 SOL_ENOTSOCK,
58 SOL_EDESTADDRREQ,
59 SOL_EMSGSIZE,
60 SOL_EPROTOTYPE,
61 SOL_ENOPROTOOPT,
62 SOL_EPROTONOSUPPORT,
63 SOL_ESOCKTNOSUPPORT,
64 SOL_EOPNOTSUPP,
65 SOL_EPFNOSUPPORT,
66 SOL_EAFNOSUPPORT,
67 SOL_EADDRINUSE,
68 SOL_EADDRNOTAVAIL,
69 SOL_ENETDOWN,
70 SOL_ENETUNREACH,
71 SOL_ENETRESET,
72 SOL_ECONNABORTED,
73 SOL_ECONNRESET,
74 SOL_ENOBUFS,
75 SOL_EISCONN,
76 SOL_ENOTONN,
77 SOL_ESHUTDOWN,
78 SOL_ETOOMANYREFS,
79 SOL_ETIMEDOUT,
80 SOL_ECONNREFUSED,
81 SOL_ELOOP,
82 SOL_ENAMETOOLONG,
83 SOL_EHOSTDOWN,
84 SOL_EHOSTUNREACH,
85 SOL_ENOTEMPTY,
86 SOL_EPROCLIM,
87 SOL_EUSERS,
88 SOL_EDQUOT,
89 SOL_ESTALE,
90 SOL_EREMOTE,
91 SOL_ENOSTR,
92 SOL_ETIME,
93 SOL_ENOSR,
94 SOL_ENOMSG,
95 SOL_EBADMSG,
96 SOL_IDRM,
97 SOL_EDEADLK,
98 SOL_ENOLCK,
99 SOL_ENONET,
100 SOL_ERREMOTE,
101 SOL_ENOLINK,
102 SOL_EADV,
103 SOL_ESRMNT,
104 SOL_ECOMM,
105 SOL_EPROTO,
106 SOL_EMULTIHOP,
107 SOL_EINVAL, /* EDOTDOT XXX??? */
108 SOL_REMCHG,
109 SOL_NOSYS,
110 SOL_STRPIPE,
111 SOL_EOVERFLOW,
112 SOL_EBADFD,
113 SOL_ECHRNG,
114 SOL_EL2NSYNC,
115 SOL_EL3HLT,
116 SOL_EL3RST,
117 SOL_NRNG,
118 SOL_EUNATCH,
119 SOL_ENOCSI,
120 SOL_EL2HLT,
121 SOL_EBADE,
122 SOL_EBADR,
123 SOL_EXFULL,
124 SOL_ENOANO,
125 SOL_EBADRQC,
126 SOL_EBADSLT,
127 SOL_EDEADLOCK,
128 SOL_EBFONT,
129 SOL_ELIBEXEC,
130 SOL_ENODATA,
131 SOL_ELIBBAD,
132 SOL_ENOPKG,
133 SOL_ELIBACC,
134 SOL_ENOTUNIQ,
135 SOL_ERESTART,
136 SOL_EUCLEAN,
137 SOL_ENOTNAM,
138 SOL_ENAVAIL,
139 SOL_EISNAM,
140 SOL_EREMOTEIO,
141 SOL_EILSEQ,
142 SOL_ELIBMAX,
143 SOL_ELIBSCN,
144};