tools/include/uapi: Fix <asm/errno.h>
authorBen Hutchings <benh@debian.org>
Tue, 25 Aug 2020 22:27:40 +0000 (23:27 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Mon, 7 Mar 2022 21:06:21 +0000 (21:06 +0000)
commit28b9df7d2f552265e740c11ce53f81a12edb0eb0
tree60c852ef1208cf7a39c5ea1facb1b5598d454acf
parent8ec5cc9ce9a60f6ac582b51705abbf4e38c52bc9
tools/include/uapi: Fix <asm/errno.h>

tools/include/uapi/asm/errno.h currently attempts to include
non-existent arch-specific headers for ia64 and xtensa.  Remove
these cases so that <asm-generic/errno.h> is used instead.

It does not use the arch-specific header for parisc, so add a
case for that.

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>
[Salvatore Bonaccorso: Inclusion for ia64 was dropped in upstream 5.10.32,
refresh patch for context changes]
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-include-uapi-fix-errno.h.patch
tools/include/uapi/asm/errno.h