linux-stable/arch/sparc
Sam Ravnborg f3ed58d7b3 sparc32: Fix parport build with sparc32
[ Upstream commit 91d3ff922c ]

include/asm/parport.h is sparc64 specific.
Rename it to parport_64.h and use the generic version for sparc32.

This fixed all{mod,yes}config build errors like:

parport_pc.c:(.text):undefined-reference-to-ebus_dma_enable
parport_pc.c:(.text):undefined-reference-to-ebus_dma_irq_enable
parport_pc.c:(.text):undefined-reference-to-ebus_dma_register

The errors occur as the sparc32 build references sparc64 symbols.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Maciej W. Rozycki <macro@orcam.me.uk>
Closes: https://lore.kernel.org/r/20230406160548.25721-1-rdunlap@infradead.org/
Fixes: 66bcd06099 ("parport_pc: Also enable driver for PCI systems")
Cc: stable@vger.kernel.org # v5.18+
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-6-1f186603c5c4@ravnborg.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:19:33 +02:00
..
boot kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00
configs
crypto sparc: Explicitly include correct DT includes 2024-04-03 15:19:33 +02:00
include sparc32: Fix parport build with sparc32 2024-04-03 15:19:33 +02:00
kernel sparc: Explicitly include correct DT includes 2024-04-03 15:19:33 +02:00
lib sparc32: fix a braino in fault handling in csum_and_copy_..._user() 2023-11-02 09:35:32 +01:00
math-emu
mm sparc: Explicitly include correct DT includes 2024-04-03 15:19:33 +02:00
net
power
prom
vdso sparc: vDSO: fix return value of __setup handler 2024-04-03 15:19:26 +02:00
Kbuild
Kconfig sparc/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 20:03:47 +02:00
Kconfig.debug
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00