Nathan Chancellor
d9f193f323
ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS
...
commit 87c4e1459e80bf65066f864c762ef4dc932fad4b upstream.
After commit d5c8d6e0fa61 ("kbuild: Update assembler calls to use proper
flags and language target"), which updated as-instr to use the
'assembler-with-cpp' language option, the Kbuild version of as-instr
always fails internally for arch/arm with
<command-line>: fatal error: asm/unified.h: No such file or directory
compilation terminated.
because '-include' flags are now taken into account by the compiler
driver and as-instr does not have '$(LINUXINCLUDE)', so unified.h is not
found.
This went unnoticed at the time of the Kbuild change because the last
use of as-instr in Kbuild that arch/arm could reach was removed in 5.7
by commit 541ad0150ca4 ("arm: Remove 32bit KVM host support") but a
stable backport of the Kbuild change to before that point exposed this
potential issue if one were to be reintroduced.
Follow the general pattern of '-include' paths throughout the tree and
make unified.h absolute using '$(srctree)' to ensure KBUILD_AFLAGS can
be used independently.
Closes: https://lore.kernel.org/CACo-S-1qbCX4WAVFA63dWfHtrRHZBTyyr2js8Lx=Az03XHTTHg@mail.gmail.com/
Cc: [email protected]
Fixes: d5c8d6e0fa61 ("kbuild: Update assembler calls to use proper flags and language target")
Reported-by: KernelCI bot <[email protected] >
Reviewed-by: Masahiro Yamada <[email protected] >
Signed-off-by: Nathan Chancellor <[email protected] >
Signed-off-by: Russell King (Oracle) <[email protected] >
[nathan: Fix conflicts]
Signed-off-by: Nathan Chancellor <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2025-08-28 16:21:32 +02:00
..
boot
ARM: dts: imx6ul-kontron-bl-common: Fix RTS polarity for RS485 interface
2025-08-28 16:21:19 +02:00
common
configs
crypto
crypto: arm/sha - fix function cast warnings
2024-03-26 18:22:21 -04:00
include
ARM: 9324/1: fix get_user() broken with veneer
2024-07-27 10:38:32 +02:00
kernel
hw_breakpoint: fix single-stepping when using bpf_overflow_handler
2023-09-23 11:00:03 +02:00
kvm
KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
2021-03-17 17:03:57 +01:00
lib
ARM: 9321/1: memset: cast the constant byte to unsigned char
2023-11-20 10:30:12 +01:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91
ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
2022-07-12 16:30:48 +02:00
mach-axxia
ARM: Fix refcount leak in axxia_boot_secondary
2022-06-29 08:58:49 +02:00
mach-bcm
ARM: bcm: Fix refcount leak in bcm_kona_smc_init
2022-08-25 11:17:33 +02:00
mach-berlin
mach-clps711x
mach-cns3xxx
ARM: cns3xxx: Fix refcount leak in cns3xxx_init
2022-06-29 08:58:49 +02:00
mach-davinci
ARM: davinci: Convert comma to semicolon
2024-07-18 11:40:54 +02:00
mach-digicolor
mach-dove
mach-ebsa110
mach-efm32
mach-ep93xx
ARM: ep93xx: Add terminator to gpiod_lookup_table
2024-03-01 13:13:36 +01:00
mach-exynos
ARM: exynos: Fix refcount leak in exynos_map_pmu
2022-06-29 08:58:49 +02:00
mach-footbridge
ARM: footbridge: fix PCI interrupt mapping
2021-04-21 12:56:17 +02:00
mach-gemini
mach-highbank
arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
2022-05-15 19:54:46 +02:00
mach-hisi
ARM: hisi: Add missing of_node_put after of_find_compatible_node
2022-06-14 18:11:30 +02:00
mach-imx
ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
2023-12-13 18:18:13 +01:00
mach-integrator
mach-iop32x
ARM: iop32x: offset IRQ numbers by 1
2022-04-15 14:18:29 +02:00
mach-ixp4xx
clocksource/drivers/ixp4xx: Select TIMER_OF when needed
2021-03-04 10:26:29 +01:00
mach-keystone
ARM: keystone: fix integer overflow warning
2021-04-21 12:56:13 +02:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek
arm: mediatek: select arch timer for mt7629
2022-06-14 18:11:40 +02:00
mach-meson
ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
2022-07-12 16:30:48 +02:00
mach-milbeaut
mach-mmp
ARM: mmp: fix timer_read delay
2023-01-18 11:40:52 +01:00
mach-moxart
mach-mv78xx0
mach-mvebu
mach-mxs
ARM: mxs: fix memory leak in mxs_machine_init()
2022-12-08 11:22:58 +01:00
mach-nomadik
mach-npcm
mach-nspire
mach-omap1
ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
2023-03-11 16:43:32 +01:00
mach-omap2
ARM: OMAP2+: Fix l4ls clk domain handling in STANDBY
2025-06-27 11:02:55 +01:00
mach-orion5x
ARM: orion5x: fix d2net gpio initialization
2023-07-27 08:37:26 +02:00
mach-oxnas
mach-picoxcell
mach-prima2
mach-pxa
ARM: pxa: remove use of symbol_get()
2023-09-23 10:59:36 +02:00
mach-qcom
mach-rda
mach-realview
ARM: versatile: fix OF node leak in CPUs prepare
2024-11-08 16:20:28 +01:00
mach-rockchip
ARM: rockchip: fix kernel hang during smp initialization
2025-08-28 16:21:25 +02:00
mach-rpc
mach-s3c24xx
ARM: 9187/1: JIVE: fix return value of __setup handler
2022-04-15 14:18:31 +02:00
mach-s3c64xx
mach-s5pv210
arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
2022-05-15 19:54:46 +02:00
mach-sa1100
treewide: Remove uninitialized_var() usage
2023-06-09 10:29:01 +02:00
mach-shmobile
ARM: shmobile: smp: Enforce shmobile_smp_* alignment
2025-04-10 14:29:38 +02:00
mach-socfpga
ARM: socfpga: fix missing RESET_CONTROLLER
2022-02-16 12:52:49 +01:00
mach-spear
mach-sti
mach-stm32
mach-sunxi
ARM: sun9i: smp: fix return code check of of_property_match_string
2024-01-25 14:34:21 -08:00
mach-tango
arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
2022-05-15 19:54:46 +02:00
mach-tegra
ARM: tegra: Use I/O memcpy to write to IRAM
2025-08-28 16:21:25 +02:00
mach-u300
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress
ARM: versatile: Add missing of_node_put in dcscb_init
2022-06-14 18:11:30 +02:00
mach-vt8500
mach-zx
mach-zynq
ARM: zynq: Fix refcount leak in zynq_early_slcr_init
2023-03-11 16:43:32 +01:00
mm
ARM: 9447/1: arm/memremap: fix arch_memremap_can_ram_remap()
2025-06-27 11:02:51 +01:00
net
bpf, arm: Fix register clobbering in div/mod implementation
2021-10-13 10:08:18 +02:00
nwfpe
ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
2023-01-18 11:41:48 +01:00
oprofile
plat-omap
plat-orion
plat-pxa
plat-samsung
ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
2020-11-05 11:43:36 +01:00
plat-versatile
probes
ARM: 9303/1: kprobes: avoid missing-declaration warnings
2023-07-27 08:37:06 +02:00
tools
vdso
vfp
ARM: 8989/1: use .fpu assembler directives instead of assembler arguments
2022-07-02 16:28:50 +02:00
xen
arm/xen: fix xen_vcpu_info allocation alignment
2023-12-08 08:44:23 +01:00
Kconfig
ARM: cpu: Switch to arch_cpu_finalize_init()
2023-08-08 19:56:33 +02:00
Kconfig-nommu
Kconfig.debug
Makefile
ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS
2025-08-28 16:21:32 +02:00