summaryrefslogtreecommitdiffstats
path: root/tools/arch/parisc/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-07-01 18:18:15 +0200
committerHelge Deller <deller@gmx.de>2018-08-13 09:30:41 +0200
commit93cb8e20d56be40c541475f77b5f565fbb385a4b (patch)
treeaa27f548101f0bb2e1f279862ff82764f5c5892f /tools/arch/parisc/include
parentc1f59375b3782f478ac2c488889abdc00dd8e25f (diff)
downloadlinux-stable-93cb8e20d56be40c541475f77b5f565fbb385a4b.tar.gz
linux-stable-93cb8e20d56be40c541475f77b5f565fbb385a4b.tar.bz2
linux-stable-93cb8e20d56be40c541475f77b5f565fbb385a4b.zip
parisc: Drop architecture-specific ENOTSUP define
parisc is the only Linux architecture which has defined a value for ENOTSUP. All other architectures #define ENOTSUP as EOPNOTSUPP in their libc headers. Having an own value for ENOTSUP which is different than EOPNOTSUPP often gives problems with userspace programs which expect both to be the same. One such example is a build error in the libuv package, as can be seen in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900237. Since we dropped HP-UX support, there is no real benefit in keeping an own value for ENOTSUP. This patch drops the parisc value for ENOTSUP from the kernel sources. glibc needs no patch, it reuses the exported headers. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/arch/parisc/include')
-rw-r--r--tools/arch/parisc/include/uapi/asm/errno.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/arch/parisc/include/uapi/asm/errno.h b/tools/arch/parisc/include/uapi/asm/errno.h
index fc0df353ff0d..87245c584784 100644
--- a/tools/arch/parisc/include/uapi/asm/errno.h
+++ b/tools/arch/parisc/include/uapi/asm/errno.h
@@ -113,7 +113,6 @@
#define ELOOP 249 /* Too many symbolic links encountered */
#define ENOSYS 251 /* Function not implemented */
-#define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */
#define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */
#define ECANCELED ECANCELLED /* SuSv3 and Solaris wants one 'L' */