android_kernel_motorola_sm6225/arch/sparc
Greg Kroah-Hartman df2b6b5a11 sparc: fix up arch_cpu_finalize_init() build breakage.
In commit b698b5d11a ("sparc/cpu: Switch to arch_cpu_finalize_init()") the
check for ARCH_HAS_CPU_FINALIZE_INIT was backported incorrectly to the SPARC
config option, not SPARC32.  This causes build problems for the sparc64 arch:

	sparc64-linux-ld: init/main.o: in function `start_kernel':
	main.c:(.init.text+0x77c): undefined reference to `arch_cpu_finalize_init'

Fix this up by putting the option in the correct place.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/252c7673-53ee-4c4b-e5ef-5bb2c0416154@roeck-us.net
Fixes: b698b5d11a ("sparc/cpu: Switch to arch_cpu_finalize_init()")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-16 18:12:59 +02:00
..
boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
configs scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:04 +02:00
crypto crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
include sparc/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
kernel sparc/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
lib sparc64: fix pci_iounmap() when CONFIG_PCI is not set 2021-10-09 14:11:03 +02:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue 2022-01-27 09:04:34 +01:00
net bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-22 11:47:58 +02:00
oprofile
power License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
prom License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdso sparc: vDSO: Silence an uninitialized variable warning 2018-10-17 21:55:02 -07:00
Kbuild vDSO for sparc 2017-11-15 14:21:03 +09:00
Kconfig sparc: fix up arch_cpu_finalize_init() build breakage. 2023-08-16 18:12:59 +02:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00