mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
x86: fix section mismatch warning - apic_x2apic_uv_x
Impact: cleanup only, no functionality changed WARNING: vmlinux.o(.data+0xbf08): Section mismatch in reference from the variable apic_x2apic_uv_x to the function .init.text:uv_acpi_madt_oem_check() The variable apic_x2apic_uv_x references the function __init uv_acpi_madt_oem_check() Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
fae1721601
commit
f8827c017f
@ -30,7 +30,7 @@ DEFINE_PER_CPU(int, x2apic_extra_bits);
|
|||||||
|
|
||||||
static enum uv_system_type uv_system_type;
|
static enum uv_system_type uv_system_type;
|
||||||
|
|
||||||
static int __init uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
|
static int uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
|
||||||
{
|
{
|
||||||
if (!strcmp(oem_id, "SGI")) {
|
if (!strcmp(oem_id, "SGI")) {
|
||||||
if (!strcmp(oem_table_id, "UVL"))
|
if (!strcmp(oem_table_id, "UVL"))
|
||||||
|
Loading…
Reference in New Issue
Block a user