mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-04 16:43:40 +01:00
This is currently working due to extra include paths in the build. Committer testing: $ cd tools/include/uapi/asm/ Before this patch: $ ls -la ../../arch/x86/include/uapi/asm/errno.h ls: cannot access '../../arch/x86/include/uapi/asm/errno.h': No such file or directory $ After this patch; $ ls -la ../../../arch/x86/include/uapi/asm/errno.h -rw-rw-r--. 1 acme acme 31 Feb 20 12:42 ../../../arch/x86/include/uapi/asm/errno.h $ Check that that is still under tools/, i.e. hasn't escaped into the main kernel sources: $ cd ../../../arch/x86/include/uapi/asm/ $ pwd /home/acme/git/perf/tools/arch/x86/include/uapi/asm $ Signed-off-by: Ian Rogers <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexios Zavras <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Igor Lubashev <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Wei Li <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
19 lines
670 B
C
19 lines
670 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(__ia64__)
|
|
#include "../../../arch/ia64/include/uapi/asm/errno.h"
|
|
#elif defined(__xtensa__)
|
|
#include "../../../arch/xtensa/include/uapi/asm/errno.h"
|
|
#else
|
|
#include <asm-generic/errno.h>
|
|
#endif
|