diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-05 06:01:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-05 06:01:43 -0500 |
commit | 4c6222587118f0776bdf40d498361d49572c58dd (patch) | |
tree | d21465e11afbd0a9e7f12cf4ef1e8cfa97f070d5 /arch/sparc64/kernel | |
parent | 9ef9dc69d4167276c04590d67ee55de8380bc1ad (diff) |
[SPARC64] pci_sun4v.c: Section fixes.
WARNING: vmlinux.o(.text+0x39be4): Section mismatch in reference from the function probe_existing_entries() to the function .init.text:page_in_phys_avail()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c index 1aa8e044b105..87c5cf572298 100644 --- a/arch/sparc64/kernel/pci_sun4v.c +++ b/arch/sparc64/kernel/pci_sun4v.c | |||
@@ -625,8 +625,8 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm) | |||
625 | /* XXX register error interrupt handlers XXX */ | 625 | /* XXX register error interrupt handlers XXX */ |
626 | } | 626 | } |
627 | 627 | ||
628 | static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, | 628 | static unsigned long __init probe_existing_entries(struct pci_pbm_info *pbm, |
629 | struct iommu *iommu) | 629 | struct iommu *iommu) |
630 | { | 630 | { |
631 | struct iommu_arena *arena = &iommu->arena; | 631 | struct iommu_arena *arena = &iommu->arena; |
632 | unsigned long i, cnt = 0; | 632 | unsigned long i, cnt = 0; |
@@ -653,7 +653,7 @@ static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, | |||
653 | return cnt; | 653 | return cnt; |
654 | } | 654 | } |
655 | 655 | ||
656 | static void pci_sun4v_iommu_init(struct pci_pbm_info *pbm) | 656 | static void __init pci_sun4v_iommu_init(struct pci_pbm_info *pbm) |
657 | { | 657 | { |
658 | struct iommu *iommu = pbm->iommu; | 658 | struct iommu *iommu = pbm->iommu; |
659 | struct property *prop; | 659 | struct property *prop; |