Skip to content

Commit

Permalink
[IA64] Fix - Section mismatch: reference to .init.data:mvec_name
Browse files Browse the repository at this point in the history
machvec_init() should be __init.  And then so should hwsw_init().

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Tony Luck committed May 10, 2007
1 parent b9ae3bd commit 9a86bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/hp/common/hwsw_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion arch/ia64/kernel/machvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ lookup_machvec (const char *name)
return 0;
}

void
void __init
machvec_init (const char *name)
{
struct ia64_machine_vector *mv;
Expand Down

0 comments on commit 9a86bbb

Please sign in to comment.