提交 fae17216 编写于 作者: M Marcin Slusarz 提交者: Ingo Molnar

x86: fix section mismatch warning - apic_physflat

Impact: cleanup only, no functionality changed

WARNING: vmlinux.o(.data+0xbe88): Section mismatch in reference from the variable apic_physflat to the function .init.text:physflat_acpi_madt_oem_check()
The variable apic_physflat references
the function __init physflat_acpi_madt_oem_check()
Signed-off-by: NMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 983f91ff
...@@ -170,7 +170,7 @@ struct genapic apic_flat = { ...@@ -170,7 +170,7 @@ struct genapic apic_flat = {
* We cannot use logical delivery in this case because the mask * We cannot use logical delivery in this case because the mask
* overflows, so use physical mode. * overflows, so use physical mode.
*/ */
static int __init physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id) static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
{ {
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册