linux_dsm_epyc7002/arch/x86/kernel
Ingo Molnar 65a4e574d2 smp, generic: introduce arch_disable_smp_support() instead of disable_ioapic_setup()
Impact: cleanup

disable_ioapic_setup() in init/main.c is ugly as the function is
x86-specific. The #ifdef inline prototype there is ugly too.

Replace it with a generic arch_disable_smp_support() function - which
has a weak alias for non-x86 architectures and for non-ioapic x86 builds.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-02-05 22:27:54 +01:00
..
acpi x86: don't treat bigsmp as non-standard 2009-01-30 15:24:37 +01:00
cpu x86: replace CONFIG_X86_SMP with CONFIG_SMP 2009-01-29 14:17:00 +01:00
.gitignore
alternative.c
amd_iommu_init.c
amd_iommu.c
aperture_64.c
apic.c smp, generic: introduce arch_disable_smp_support() instead of disable_ioapic_setup() 2009-02-05 22:27:54 +01:00
apm_32.c x86: move mach-default/*.h files to asm/ 2009-01-29 14:16:51 +01:00
asm-offsets_32.c
asm-offsets_64.c x86: remove pda.h 2009-01-20 12:29:20 +09:00
asm-offsets.c
audit_64.c
bigsmp_32.c x86, apic, 32-bit: add self-IPI methods 2009-01-30 23:42:18 +01:00
bios_uv.c
bootflag.c
check.c
cpuid.c
crash_dump_32.c
crash_dump_64.c
crash.c x86, smp: remove mach_ipi.h 2009-01-29 14:16:49 +01:00
doublefault_32.c
ds.c
dumpstack_32.c
dumpstack_64.c x86-64: Move current task from PDA to per-cpu and consolidate with 32-bit. 2009-01-19 00:38:58 +09:00
dumpstack.c
dumpstack.h
e820.c
early_printk.c
early-quirks.c
efi_32.c
efi_64.c x86: remove include of apic.h from hardirq_64.h 2009-01-23 11:03:29 +09:00
efi_stub_32.S
efi_stub_64.S
efi.c x86: make UV support configurable 2009-01-21 13:00:42 +01:00
entry_32.S x86: move mach-default/*.h files to asm/ 2009-01-29 14:16:51 +01:00
entry_64.S Merge branches 'x86/asm', 'x86/cleanups', 'x86/cpudetect', 'x86/debug', 'x86/doc', 'x86/header-fixes', 'x86/mm', 'x86/paravirt', 'x86/pat', 'x86/setup-v2', 'x86/subarch', 'x86/uaccess' and 'x86/urgent' into x86/core 2009-01-28 23:13:53 +01:00
es7000_32.c x86, apic, 32-bit: add self-IPI methods 2009-01-30 23:42:18 +01:00
ftrace.c
genapic_64.c x86, apic: untangle the send_IPI_*() jungle 2009-01-28 23:20:31 +01:00
genapic_flat_64.c x86: seperate default_send_IPI_mask_sequence/allbutself from logical 2009-01-30 15:21:24 +01:00
genx2apic_cluster.c x86, smp: remove ->restore_NMI_vector() 2009-01-28 23:20:34 +01:00
genx2apic_phys.c x86, smp: remove ->restore_NMI_vector() 2009-01-28 23:20:34 +01:00
genx2apic_uv_x.c x86, smp: remove ->restore_NMI_vector() 2009-01-28 23:20:34 +01:00
geode_32.c
head32.c
head64.c x86: remove pda_init() 2009-01-20 12:29:19 +09:00
head_32.S Merge branches 'x86/asm', 'x86/cleanups', 'x86/cpudetect', 'x86/debug', 'x86/doc', 'x86/header-fixes', 'x86/mm', 'x86/paravirt', 'x86/pat', 'x86/setup-v2', 'x86/subarch', 'x86/uaccess' and 'x86/urgent' into x86/core 2009-01-28 23:13:53 +01:00
head_64.S x86: move stack_canary into irq_stack 2009-01-20 12:29:20 +09:00
head.c
hpet.c debugobjects: add and use INIT_WORK_ON_STACK 2009-01-22 10:02:07 +01:00
i386_ksyms_32.c
i387.c
i8237.c
i8253.c
i8259.c
init_task.c
io_apic.c smp, generic: introduce arch_disable_smp_support() instead of disable_ioapic_setup() 2009-02-05 22:27:54 +01:00
io_delay.c
ioport.c
ipi.c x86: seperate default_send_IPI_mask_sequence/allbutself from logical 2009-01-30 15:21:24 +01:00
irq_32.c x86: remove mach_apic.h 2009-01-29 14:16:42 +01:00
irq_64.c x86: remove include of apic.h from hardirq_64.h 2009-01-23 11:03:29 +09:00
irq.c x86-64: Move irq stats from PDA to per-cpu and consolidate with 32-bit. 2009-01-19 00:38:57 +09:00
irqinit_32.c x86: make x86_32 use tlb_64.c 2009-01-21 17:26:06 +09:00
irqinit_64.c
k8.c
kdebugfs.c
kgdb.c x86, smp: remove mach_ipi.h 2009-01-29 14:16:49 +01:00
kprobes.c kprobes: check CONFIG_FREEZER instead of CONFIG_PM 2009-01-16 14:32:17 -05:00
kvm.c
kvmclock.c
ldt.c
machine_kexec_32.c
machine_kexec_64.c
Makefile x86/Voyager: remove X86_BIOS_REBOOT Kconfig quirk 2009-01-29 14:17:03 +01:00
mca_32.c
mfgpt_32.c
microcode_amd.c
microcode_core.c
microcode_intel.c x86: microcode_intel.c fix style problems 2009-01-12 11:22:40 +01:00
mmconf-fam10h_64.c
module_32.c x86: module_32.c fix style problems 2009-01-12 11:22:55 +01:00
module_64.c x86: module_64.c fix style problems 2009-01-12 11:23:01 +01:00
mpparse.c x86: update copyrights 2009-01-31 04:21:18 +01:00
msr.c x86: msr.c fix style problems 2009-01-12 11:22:50 +01:00
nmi.c x86: move mach-default/*.h files to asm/ 2009-01-29 14:16:51 +01:00
numaq_32.c x86, apic, 32-bit: add self-IPI methods 2009-01-30 23:42:18 +01:00
olpc.c
paravirt_patch_32.c
paravirt_patch_64.c
paravirt-spinlocks.c x86: remove byte locks 2009-01-20 17:14:28 +01:00
paravirt.c x86/pvops: remove pte_flags pvop 2009-01-22 23:35:20 +01:00
pci-calgary_64.c
pci-dma.c
pci-gart_64.c
pci-nommu.c
pci-swiotlb_64.c
pcspeaker.c
pmtimer_64.c
probe_32.c x86, apic, 32-bit: add self-IPI methods 2009-01-30 23:42:18 +01:00
probe_roms_32.c x86: move mach-default/*.h files to asm/ 2009-01-29 14:16:51 +01:00
process_32.c x86: remove idle_timestamp from 32bit irq_cpustat_t 2009-01-23 11:03:28 +09:00
process_64.c x86: remove pda.h 2009-01-20 12:29:20 +09:00
process.c x86: replace CONFIG_X86_SMP with CONFIG_SMP 2009-01-29 14:17:00 +01:00
ptrace.c
pvclock.c
quirks.c
reboot_fixups_32.c
reboot.c x86, smp: remove mach_ipi.h 2009-01-29 14:16:49 +01:00
relocate_kernel_32.S
relocate_kernel_64.S
rtc.c
scx200_32.c
setup_percpu.c Merge branch 'linus' into core/percpu 2009-01-27 12:01:51 +01:00
setup.c x86: don't treat bigsmp as non-standard 2009-01-30 15:24:37 +01:00
signal.c Merge branches 'x86/asm', 'x86/cleanups', 'x86/cpudetect', 'x86/debug', 'x86/doc', 'x86/header-fixes', 'x86/mm', 'x86/paravirt', 'x86/pat', 'x86/setup-v2', 'x86/subarch', 'x86/uaccess' and 'x86/urgent' into x86/core 2009-01-28 23:13:53 +01:00
smp.c x86: update copyrights 2009-01-31 04:21:18 +01:00
smpboot.c smp, generic: introduce arch_disable_smp_support() instead of disable_ioapic_setup() 2009-02-05 22:27:54 +01:00
stacktrace.c x86: update copyrights 2009-01-31 04:21:18 +01:00
step.c
summit_32.c x86, apic, 32-bit: add self-IPI methods 2009-01-30 23:42:18 +01:00
sys_i386_32.c
sys_x86_64.c
syscall_64.c
syscall_table_32.S [CVE-2009-0029] Rename old_readdir to sys_old_readdir 2009-01-14 14:15:15 +01:00
tce_64.c
test_nx.c
test_rodata.c
time_32.c x86: move mach-default/*.h files to asm/ 2009-01-29 14:16:51 +01:00
time_64.c
tlb_uv.c x86: remove mach_apic.h 2009-01-29 14:16:42 +01:00
tls.c
tls.h
topology.c
trampoline_32.S
trampoline_64.S
trampoline.c
traps.c x86: move mach-default/*.h files to asm/ 2009-01-29 14:16:51 +01:00
tsc_sync.c
tsc.c x86: replace CONFIG_X86_SMP with CONFIG_SMP 2009-01-29 14:17:00 +01:00
uv_irq.c
uv_sysfs.c
verify_cpu_64.S
visws_quirks.c x86, smp: remove mach_ipi.h 2009-01-29 14:16:49 +01:00
vm86_32.c
vmi_32.c x86: fix section mismatch warning 2009-01-26 14:27:18 +01:00
vmiclock_32.c x86: replace CONFIG_X86_SMP with CONFIG_SMP 2009-01-29 14:17:00 +01:00
vmlinux_32.lds.S x86: make vmlinux_32.lds.S use PERCPU() macro 2009-01-16 14:19:09 +01:00
vmlinux_64.lds.S x86: move stack_canary into irq_stack 2009-01-20 12:29:20 +09:00
vmlinux.lds.S
vsmp_64.c
vsyscall_64.c
x8664_ksyms_64.c x86: convert pda ops to wrappers around x86 percpu accessors 2009-01-16 14:20:22 +01:00
xsave.c