linux-mainline/include
Russell King (Oracle) c4dd854f74 cpu-hotplug: Provide prototypes for arch CPU registration
Provide common prototypes for arch_register_cpu() and
arch_unregister_cpu(). These are called by acpi_processor.c, with weak
versions, so the prototype for this is already set. It is generally not
necessary for function prototypes to be conditional on preprocessor macros.

Some architectures (e.g. Loongarch) are missing the prototype for this, and
rather than add it to Loongarch's asm/cpu.h, do the job once for everyone.

Since this covers everyone, remove the now unnecessary prototypes in
asm/cpu.h, and therefore remove the 'static' from one of ia64's
arch_register_cpu() definitions.

[ tglx: Bring back the ia64 part and remove the ACPI prototypes ]

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/E1qkoRr-0088Q8-Da@rmk-PC.armlinux.org.uk
2023-10-11 14:27:37 +02:00
..
acpi cpu-hotplug: Provide prototypes for arch CPU registration 2023-10-11 14:27:37 +02:00
asm-generic Kbuild fixes for v6.6 (2nd) 2023-10-01 13:48:46 -07:00
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux cpu-hotplug: Provide prototypes for arch CPU registration 2023-10-11 14:27:37 +02:00
math-emu
media
memory
misc
net net: mana: Fix oversized sge0 for GSO packets 2023-10-05 11:45:06 +02:00
pcmcia
ras
rdma
rv
scsi ATA fixes for 6.6-rc4 2023-09-29 13:38:34 -07:00
soc
sound
target
trace x86/xen: move paravirt lazy code 2023-09-19 07:04:49 +02:00
uapi Short summary of fixes pull: 2023-10-06 12:48:06 +10:00
ufs
vdso
video
xen arm/xen: remove lazy mode related definitions 2023-09-19 07:04:49 +02:00