]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Drop architecture-specific ENOTSUP define
authorHelge Deller <deller@gmx.de>
Sun, 1 Jul 2018 16:18:15 +0000 (18:18 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 13 Aug 2018 07:30:41 +0000 (09:30 +0200)
commitc10d95f77658bd4332bb1fb565cb3874b75af41e
treeaa27f548101f0bb2e1f279862ff82764f5c5892f
parent8f350f25d1d868349ad0b43a20bf725b7a5027e2
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>
arch/parisc/include/uapi/asm/errno.h
kernel/time/posix-timers.c
tools/arch/parisc/include/uapi/asm/errno.h