linux-yocto/arch/arm/mach-omap1
Arnd Bergmann e68954ecf8 ARM: OMAP1: select CONFIG_GENERIC_IRQ_CHIP
[ Upstream commit 98f3ab18a0 ]

When GENERIC_IRQ_CHIP is disabled, OMAP1 kernels fail to link:

arm-linux-gnueabi-ld: arch/arm/mach-omap1/irq.o: in function `omap1_init_irq':
irq.c:(.init.text+0x1e8): undefined reference to `irq_alloc_generic_chip'
arm-linux-gnueabi-ld: irq.c:(.init.text+0x228): undefined reference to `irq_setup_generic_chip'
arm-linux-gnueabi-ld: irq.c:(.init.text+0x2a8): undefined reference to `irq_gc_set_wake'
arm-linux-gnueabi-ld: irq.c:(.init.text+0x2b0): undefined reference to `irq_gc_mask_set_bit'
arm-linux-gnueabi-ld: irq.c:(.init.text+0x2b4): undefined reference to `irq_gc_mask_clr_bit'

This has apparently been the case for many years, but I never caught it
in randconfig builds until now, as there are dozens of other drivers
that also 'select GENERIC_IRQ_CHIP' and statistically there is almost
always one of them enabled.

Fixes: 55b4477443 ("ARM: OMAP1: Switch to use generic irqchip in preparation for sparse IRQ")
Link: https://lore.kernel.org/r/20250205121151.289535-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-03-28 21:59:52 +01:00
..
ams-delta-fiq-handler.S
ams-delta-fiq.c
ams-delta-fiq.h
board-ams-delta.c
board-ams-delta.h
board-nokia770.c
board-osk.c
board-palmte.c
board-sx1-mmc.c
board-sx1.c
board-sx1.h
clock_data.c
clock.c
clock.h
common.h
devices.c
dma.c
fb.c
flash.c
flash.h
gpio15xx.c
gpio16xx.c
hardware.h
i2c.c
i2c.h
id.c
io.c
iomap.h
irq.c
irqs.h
Kconfig
Makefile
mcbsp.c
mmc.h
mtd-xip.h
mux.c
mux.h
ocpi.c
omap-dma.c
opp_data.c
opp.h
pm_bus.c
pm.c
pm.h
reset.c
serial.c
serial.h
sleep.S
soc.h
sram-init.c
sram.h
sram.S
tc.h
time.c
timer.c
timer32k.c
usb.c
usb.h