kernel-hacking-2024-linux-s.../arch/x86
Sam Ravnborg adb8daed46 x86: fix section mismatch warning in setup_64.c
Fix the following warning:
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x7a3): Section mismatch: reference to .init.text:amd_detect_cmp in 'init_amd'

The function amd_detect_cmp were annotated __init and
was only used from init_amd() which are annotated __cpuinit.

Annotate amd_detect_cmp() with _cpuinit to fix it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:37 +01:00
..
boot x86: remove unneded casts 2008-01-30 13:33:23 +01:00
configs x86: Set CFQ as default in 32-bit defconfig 2008-01-30 13:32:49 +01:00
crypto
ia32 x86: remove unneded casts 2008-01-30 13:33:23 +01:00
kernel x86: fix section mismatch warning in setup_64.c 2008-01-30 13:33:37 +01:00
lguest x86: remove depends on X86_32 from PARAVIRT & PARAVIRT_GUEST 2008-01-30 13:33:32 +01:00
lib x86: remove unneded casts 2008-01-30 13:33:23 +01:00
mach-default
mach-es7000
mach-generic
mach-rdc321x x86: add support for the RDC R-321x SoC 2008-01-30 13:33:36 +01:00
mach-visws
mach-voyager x86: convert TSC disabling to generic cpuid disable bitmap 2008-01-30 13:33:20 +01:00
math-emu x86: arch/x86/math-emu/errors.c: fix printk warnings 2008-01-30 13:32:13 +01:00
mm x86: fix section mismatch warning in srat_64.c 2008-01-30 13:33:37 +01:00
oprofile x86: rename stack_pointer to kernel_trap_sp 2008-01-30 13:33:16 +01:00
pci x86: serverworks: IRQ routing needs no _p 2008-01-30 13:33:14 +01:00
power x86: make __{save,restore}_processor_state static 2008-01-30 13:31:23 +01:00
vdso x86: add vdso32-int80-syms.lds to .gitignore 2008-01-30 13:33:24 +01:00
video
xen x86: remove depends on X86_32 from PARAVIRT & PARAVIRT_GUEST 2008-01-30 13:33:32 +01:00
Kconfig x86: add support for the RDC R-321x SoC 2008-01-30 13:33:36 +01:00
Kconfig.cpu x86: reduce CONFIG_X86_PPRO_FENCE bloat 2008-01-30 13:32:31 +01:00
Kconfig.debug x86: fix DEBUG_RODATA kconfig text 2008-01-30 13:33:32 +01:00
Makefile x86: add support for the RDC R-321x SoC 2008-01-30 13:33:36 +01:00
Makefile_32.cpu