linux-stable/arch/ia64/kernel
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
..
syscalls arch: Register fchmodat2, usually as syscall 452 2023-07-27 12:25:35 +02:00
.gitignore
acpi-ext.c
acpi.c acpi: Provide ia64 dummy implementation of acpi_proc_quirk_mwait_check() 2023-09-11 08:13:17 +00:00
asm-offsets.c ia64: do not typedef struct pal_min_state_area_s 2021-02-12 05:11:19 +09:00
audit.c audit: add support for the openat2 syscall 2021-10-01 16:52:48 -04:00
brl_emu.c
crash.c ia64: simplify one-level sysctl registration for kdump_ctl_table 2023-04-13 11:49:35 -07:00
crash_dump.c vmcore: convert copy_oldmem_page() to take an iov_iter 2022-04-29 14:37:59 -07:00
cyclone.c
dma-mapping.c dma-mapping: split <linux/dma-mapping.h> 2020-10-06 07:07:03 +02:00
efi.c docs: move ia64 architecture docs under Documentation/arch/ 2023-04-10 16:45:52 -06:00
efi_stub.S mm: update legacy flush_tlb_* to use vma 2021-06-29 10:53:52 -07:00
elfcore.c elfcore: Add a cprm parameter to elf_core_extra_{phdrs,data_size} 2023-01-05 15:12:12 +00:00
entry.h
entry.S ia64: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-22 18:12:46 +09:00
err_inject.c ia64: fix format strings for err_inject 2021-03-25 09:22:55 -07:00
esi.c
esi_stub.S ia64: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-22 18:12:46 +09:00
fsys.S docs: move ia64 architecture docs under Documentation/arch/ 2023-04-10 16:45:52 -06:00
fsyscall_gtod_data.h
ftrace.c ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
gate-data.S
gate.lds.S
gate.S
head.S ia64: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-22 18:12:46 +09:00
iosapic.c genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
irq.c genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
irq.h
irq_ia64.c ia64: Remove perfmon 2020-09-11 09:34:32 -07:00
irq_lsapic.c
ivt.S ia64: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-22 18:12:46 +09:00
kprobes.c ia64: replace comments with C99 initializers 2022-04-28 23:17:25 -07:00
machine_kexec.c ia64: drop marked broken DISCONTIGMEM and VIRTUAL_MEM_MAP 2021-04-30 11:20:35 -07:00
Makefile kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00
Makefile.gate
mca.c kill do_each_thread() 2023-08-21 13:46:25 -07:00
mca_asm.S
mca_drv.c exit: Add and use make_task_dead. 2021-12-13 12:04:45 -06:00
mca_drv.h
mca_drv_asm.S
minstate.h
module.c module: replace module_layout with module_memory 2023-03-09 12:55:15 -08:00
msi_ia64.c genirq: Add and use an irq_data_update_affinity helper 2022-07-07 09:38:04 +01:00
numa.c
pal.S ia64: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-22 18:12:46 +09:00
palinfo.c ia64: fix typos in comments 2022-04-28 23:17:25 -07:00
patch.c
pci-dma.c
perfmon_itanium.h arch: ia64: Remove rest of perfmon support 2021-01-22 12:12:20 +05:30
process.c sched/idle: Mark arch_cpu_idle_dead() __noreturn 2023-03-08 08:44:28 -08:00
ptrace.c ia64: ptrace: user_regset_copyin_ignore() always returns 0 2022-11-15 14:30:40 -08:00
relocate_kernel.S
sal.c locking, arch/ia64: Reduce <asm/smp.h> header dependencies by moving XTP bits into the new <asm/xtp.h> header 2020-08-06 16:13:13 +02:00
salinfo.c ia64: salinfo: placate defined-but-not-used warning 2023-04-08 13:45:36 -07:00
setup.c Updates for the x86 boot process: 2023-06-26 13:39:10 -07:00
sigframe.h
signal.c resume_user_mode: Move to resume_user_mode.h 2022-03-10 16:51:50 -06:00
smp.c treewide: Trace IPIs sent via smp_send_reschedule() 2023-03-24 11:01:28 +01:00
smpboot.c ia64: cleanup remove_siblinginfo() 2022-06-03 06:52:58 -07:00
stacktrace.c
sys_ia64.c ia64: mmap: Consider pgoff when searching for free mapping 2023-07-21 09:41:35 -06:00
time.c sched/cputime: Fix IA64 build error of missing arch_vtime_task_switch() prototype 2023-01-11 10:31:57 +01:00
topology.c cpu-hotplug: Provide prototypes for arch CPU registration 2023-10-11 14:27:37 +02:00
traps.c ia64: fix typos in comments 2022-04-28 23:17:25 -07:00
unaligned.c ia64: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
uncached.c mm: use for_each_online_node and node_online instead of open coding 2022-04-29 14:36:58 -07:00
unwind.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
unwind_decoder.c
unwind_i.h
vmlinux.lds.S objtool/idle: Validate __cpuidle code as noinstr 2023-01-13 11:48:15 +01:00