aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/genapic
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-12-15 11:57:54 +0000
committerKeir Fraser <keir@xen.org>2010-12-15 11:57:54 +0000
commit1f87cbc575c2465a4ef76da976bf31786aaa0a0e (patch)
treeed50f1741106ff1318d2966068807ed3710814e2 /xen/arch/x86/genapic
parent05c9759b59608a63400702e149500a50c4f3eabc (diff)
downloadxen-1f87cbc575c2465a4ef76da976bf31786aaa0a0e.tar.gz
xen-1f87cbc575c2465a4ef76da976bf31786aaa0a0e.tar.bz2
xen-1f87cbc575c2465a4ef76da976bf31786aaa0a0e.zip
x86: adjust x2apic section placement
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/genapic')
-rw-r--r--xen/arch/x86/genapic/x2apic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/genapic/x2apic.c b/xen/arch/x86/genapic/x2apic.c
index 91daaa3bf4..f9bb34dfc2 100644
--- a/xen/arch/x86/genapic/x2apic.c
+++ b/xen/arch/x86/genapic/x2apic.c
@@ -27,7 +27,7 @@
#include <xen/smp.h>
#include <asm/mach-default/mach_mpparse.h>
-static int x2apic_phys; /* By default we use logical cluster mode. */
+static int __initdata x2apic_phys; /* By default we use logical cluster mode. */
boolean_param("x2apic_phys", x2apic_phys);
static void init_apic_ldr_x2apic_phys(void)
@@ -134,7 +134,7 @@ static const struct genapic apic_x2apic_cluster = {
.send_IPI_self = send_IPI_self_x2apic
};
-const struct genapic *apic_x2apic_probe(void)
+const struct genapic *__init apic_x2apic_probe(void)
{
return x2apic_phys ? &apic_x2apic_phys : &apic_x2apic_cluster;
}