aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@tuxicoman.be>2014-01-16 11:17:53 -0500
committerHelge Deller <deller@gmx.de>2014-02-02 14:57:42 -0500
commitf5a408d53edef3af07ac7697b8bc54a755628450 (patch)
treee0537fd9e08dbbbe4a897bfb611feb74169705c9 /arch
parent9391bc777b055aca06f422095261e922431c0ec2 (diff)
parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
On Linux, only parisc uses a different value for EWOULDBLOCK which causes a lot of troubles for applications not checking for both values. Since the hpux compat is long dead, make EWOULDBLOCK behave the same as all other architectures. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/include/uapi/asm/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/errno.h b/arch/parisc/include/uapi/asm/errno.h
index f3a8aa554841..c0ae62520d15 100644
--- a/arch/parisc/include/uapi/asm/errno.h
+++ b/arch/parisc/include/uapi/asm/errno.h
@@ -106,7 +106,7 @@
106 106
107#define EALREADY 244 /* Operation already in progress */ 107#define EALREADY 244 /* Operation already in progress */
108#define EINPROGRESS 245 /* Operation now in progress */ 108#define EINPROGRESS 245 /* Operation now in progress */
109#define EWOULDBLOCK 246 /* Operation would block (Linux returns EAGAIN) */ 109#define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */
110#define ENOTEMPTY 247 /* Directory not empty */ 110#define ENOTEMPTY 247 /* Directory not empty */
111#define ENAMETOOLONG 248 /* File name too long */ 111#define ENAMETOOLONG 248 /* File name too long */
112#define ELOOP 249 /* Too many symbolic links encountered */ 112#define ELOOP 249 /* Too many symbolic links encountered */