summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorBen Hutchings <benh@debian.org>2020-08-25 23:27:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-23 14:15:49 +0200
commit710ebf8f1a088903c733a23ce7014428d8542cdf (patch)
tree48729a2e7b0e5c50e1277db2c01487207ddd11db /tools/include
parent309e9f4a17cf76e730c3101ecb5addfd93368556 (diff)
downloadlinux-stable-710ebf8f1a088903c733a23ce7014428d8542cdf.tar.gz
linux-stable-710ebf8f1a088903c733a23ce7014428d8542cdf.tar.bz2
linux-stable-710ebf8f1a088903c733a23ce7014428d8542cdf.zip
tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
commit 95363747a6f39e88a3052fcf6ce6237769495ce0 upstream. tools/include/uapi/asm/errno.h currently attempts to include non-existent arch-specific errno.h header for xtensa. Remove this case so that <asm-generic/errno.h> is used instead, and add the missing arch-specific header for parisc. References: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=ia64&ver=5.8.3-1%7Eexp1&stamp=1598340829&raw=1 Signed-off-by: Ben Hutchings <benh@debian.org> Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> Cc: <stable@vger.kernel.org> # 5.10+ Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/asm/errno.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/uapi/asm/errno.h b/tools/include/uapi/asm/errno.h
index d30439b4b8ab..869379f91fe4 100644
--- a/tools/include/uapi/asm/errno.h
+++ b/tools/include/uapi/asm/errno.h
@@ -9,8 +9,8 @@
#include "../../../arch/alpha/include/uapi/asm/errno.h"
#elif defined(__mips__)
#include "../../../arch/mips/include/uapi/asm/errno.h"
-#elif defined(__xtensa__)
-#include "../../../arch/xtensa/include/uapi/asm/errno.h"
+#elif defined(__hppa__)
+#include "../../../arch/parisc/include/uapi/asm/errno.h"
#else
#include <asm-generic/errno.h>
#endif