Commit 2caa3715 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Ingo Molnar
Browse files

x86: fix section mismatch warning - apic_x2apic_cluster



Impact: cleanup only, no functionality changed

WARNING: vmlinux.o(.data+0xbf88): Section mismatch in reference from the variable apic_x2apic_cluster to the function .init.text:x2apic_acpi_madt_oem_check()
The variable apic_x2apic_cluster references
the function __init x2apic_acpi_madt_oem_check()

Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f8827c01
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -12,7 +12,7 @@


DEFINE_PER_CPU(u32, x86_cpu_to_logical_apicid);
DEFINE_PER_CPU(u32, x86_cpu_to_logical_apicid);


static int __init x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
static int x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
{
{
	if (cpu_has_x2apic)
	if (cpu_has_x2apic)
		return 1;
		return 1;