WSL2-Linux-Kernel/arch/x86/kernel/acpi
Sam Ravnborg 009cbadb6e x86: fix section mismatch warning in acpi/boot.c
Fix following warning:
WARNING: o-x86_64/arch/x86/kernel/built-in.o(.text+0x13d15): Section mismatch in reference from the function acpi_map_lsapic() to the function .cpuinit.text:mp_register_lapic()

The function acpi_map_lsapic() is exported and thus not annotated.
But the sole user is acpi/processor_core.c in a __cpuinit path.
So create a small wrapper and put back the annotation thus
avoiding the warning.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-01 17:49:42 +01:00
..
Makefile x86: unify arch/x86/kernel/acpi/sleep*.c 2008-01-30 13:32:54 +01:00
boot.c x86: fix section mismatch warning in acpi/boot.c 2008-02-01 17:49:42 +01:00
cstate.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
processor.c ACPI: Enable MSR (FixedHW) support for T-States 2007-11-16 21:46:25 -05:00
sleep.c x86: unify arch/x86/kernel/acpi/sleep*.c 2008-01-30 13:32:54 +01:00
sleep_32.c x86: unify arch/x86/kernel/acpi/sleep*.c 2008-01-30 13:32:54 +01:00
wakeup_32.S x86: make arch/x86/kernel/acpi/wakeup_32.S use a separate 2008-01-30 13:32:50 +01:00
wakeup_64.S x86: rename the struct pt_regs members for 32/64-bit consistency 2008-01-30 13:30:56 +01:00