aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/hp
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-05-10 11:57:58 -0700
committerTony Luck <tony.luck@intel.com>2007-05-10 11:57:58 -0700
commit9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb (patch)
treecfce92682cf62c5632a6ee61a2b7cec426edb1bc /arch/ia64/hp
parentb9ae3bd255c3e25880b60a997f1b34ad9535b249 (diff)
downloadkernel_samsung_smdk4412-9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb.zip
kernel_samsung_smdk4412-9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb.tar.gz
kernel_samsung_smdk4412-9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb.tar.bz2
[IA64] Fix - Section mismatch: reference to .init.data:mvec_name
machvec_init() should be __init. And then so should hwsw_init(). Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/hp')
-rw-r--r--arch/ia64/hp/common/hwsw_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/hp/common/hwsw_iommu.c b/arch/ia64/hp/common/hwsw_iommu.c
index 2153bca..94e5710 100644
--- a/arch/ia64/hp/common/hwsw_iommu.c
+++ b/arch/ia64/hp/common/hwsw_iommu.c
@@ -63,7 +63,7 @@ use_swiotlb (struct device *dev)
return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask);
}
-void
+void __init
hwsw_init (void)
{
/* default to a smallish 2MB sw I/O TLB */