summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-10-12 11:44:11 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-22 17:36:29 +0200
commit2caa37150d7aa110b6155cb77b07e581c103fef4 (patch)
tree5f00ee86b2a1c8173483e756c9145a45900c197f /arch
parentf8827c017f19e1cd8834821f4303d5f163feab84 (diff)
downloadlinux-2caa37150d7aa110b6155cb77b07e581c103fef4.tar.gz
linux-2caa37150d7aa110b6155cb77b07e581c103fef4.tar.bz2
linux-2caa37150d7aa110b6155cb77b07e581c103fef4.zip
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: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/genx2apic_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/genx2apic_cluster.c b/arch/x86/kernel/genx2apic_cluster.c
index e4bf2cc0d743..f6a2c8eb48a6 100644
--- a/arch/x86/kernel/genx2apic_cluster.c
+++ b/arch/x86/kernel/genx2apic_cluster.c
@@ -12,7 +12,7 @@
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)
return 1;