mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
17786fea41
There is no longer an ia64-specific version of the errno.h header below
arch/ia64/include/uapi/asm/, so trying to build tools/bpf fails with:
CC /usr/src/linux/tools/bpf/bpftool/btf_dumper.o
In file included from /usr/src/linux/tools/include/linux/err.h:8,
from btf_dumper.c:11:
/usr/src/linux/tools/include/uapi/asm/errno.h:13:10: fatal error: ../../../arch/ia64/include/uapi/asm/errno.h: No such file or directory
13 | #include "../../../arch/ia64/include/uapi/asm/errno.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Thus, just remove the inclusion of the ia64-specific errno.h so that the
build will use the generic errno.h header on this target which was used
there anyway as the ia64-specific errno.h was just a wrapper for the
generic header.
Fixes: c25f867ddd
("ia64: remove unneeded uapi asm-generic wrappers")
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 lines
591 B
C
17 lines
591 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#if defined(__i386__) || defined(__x86_64__)
|
|
#include "../../../arch/x86/include/uapi/asm/errno.h"
|
|
#elif defined(__powerpc__)
|
|
#include "../../../arch/powerpc/include/uapi/asm/errno.h"
|
|
#elif defined(__sparc__)
|
|
#include "../../../arch/sparc/include/uapi/asm/errno.h"
|
|
#elif defined(__alpha__)
|
|
#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"
|
|
#else
|
|
#include <asm-generic/errno.h>
|
|
#endif
|