diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-03-27 02:10:33 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-03-27 14:10:39 -0400 |
commit | b46a0b08b8bdf6467cd2b49f520e100c72885302 (patch) | |
tree | 3efd7bb5b9d2461e99188f82bf136703e4b08d56 /arch | |
parent | 0a7d32440294faea84c9aae4cb99239fe6ddb8ed (diff) |
ia64/xen: fix the link error.
This patch fixes the following link error with xen_domu_defconfig.
Depending on compiler version, it doesn't link as follows.
So remove const and use __initdata for xen_iosapic_ops.
> arch/ia64/xen/xen_pv_ops.c:878: error: xen_iosapic_ops causes a section type conflict
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/xen/xen_pv_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/xen/xen_pv_ops.c b/arch/ia64/xen/xen_pv_ops.c index 6c44225e7b84..bf3c74cb150f 100644 --- a/arch/ia64/xen/xen_pv_ops.c +++ b/arch/ia64/xen/xen_pv_ops.c | |||
@@ -875,7 +875,7 @@ xen_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) | |||
875 | HYPERVISOR_physdev_op(PHYSDEVOP_apic_write, &apic_op); | 875 | HYPERVISOR_physdev_op(PHYSDEVOP_apic_write, &apic_op); |
876 | } | 876 | } |
877 | 877 | ||
878 | static const struct pv_iosapic_ops xen_iosapic_ops __initconst = { | 878 | static struct pv_iosapic_ops xen_iosapic_ops __initdata = { |
879 | .pcat_compat_init = xen_pcat_compat_init, | 879 | .pcat_compat_init = xen_pcat_compat_init, |
880 | .__get_irq_chip = xen_iosapic_get_irq_chip, | 880 | .__get_irq_chip = xen_iosapic_get_irq_chip, |
881 | 881 | ||