Skip to content

Commit 9536374

Browse files
benh-debianhdeller
authored andcommitted
tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
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 <[email protected]> Signed-off-by: Salvatore Bonaccorso <[email protected]> Cc: <[email protected]> # 5.10+ Signed-off-by: Helge Deller <[email protected]>
1 parent 4b9d1bc commit 9536374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/include/uapi/asm/errno.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include "../../../arch/alpha/include/uapi/asm/errno.h"
1010
#elif defined(__mips__)
1111
#include "../../../arch/mips/include/uapi/asm/errno.h"
12-
#elif defined(__xtensa__)
13-
#include "../../../arch/xtensa/include/uapi/asm/errno.h"
12+
#elif defined(__hppa__)
13+
#include "../../../arch/parisc/include/uapi/asm/errno.h"
1414
#else
1515
#include <asm-generic/errno.h>
1616
#endif

0 commit comments

Comments
 (0)