diff options
author | Luck, Tony <tony.luck@intel.com> | 2009-01-06 13:25:25 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-01-06 14:24:30 -0500 |
commit | 07716e4df25523bf85b4e304d2cf63dbf3cbabf9 (patch) | |
tree | d41dace710115c0658b592c48e97a0800d840606 /arch/ia64/kernel/pci-swiotlb.c | |
parent | f98eee8ea99fe74ee9c4e867ba178ec3072793be (diff) |
ia64: fix section mismatch swiotlb_dma_init -> swiotlb_init
Impact: Section fix
WARNING: vmlinux.o(.text+0x596d2): Section mismatch in
reference from the function swiotlb_dma_init() to the function
.init.text:swiotlb_init()
The function swiotlb_dma_init() references
the function __init swiotlb_init().
This is often because swiotlb_dma_init lacks a __init
annotation or the annotation of swiotlb_init is wrong.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/ia64/kernel/pci-swiotlb.c')
-rw-r--r-- | arch/ia64/kernel/pci-swiotlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/pci-swiotlb.c b/arch/ia64/kernel/pci-swiotlb.c index e6b2ec9b27da..d21dea44e76f 100644 --- a/arch/ia64/kernel/pci-swiotlb.c +++ b/arch/ia64/kernel/pci-swiotlb.c | |||
@@ -33,7 +33,7 @@ struct dma_map_ops swiotlb_dma_ops = { | |||
33 | .mapping_error = swiotlb_dma_mapping_error, | 33 | .mapping_error = swiotlb_dma_mapping_error, |
34 | }; | 34 | }; |
35 | 35 | ||
36 | void swiotlb_dma_init(void) | 36 | void __init swiotlb_dma_init(void) |
37 | { | 37 | { |
38 | dma_ops = &swiotlb_dma_ops; | 38 | dma_ops = &swiotlb_dma_ops; |
39 | swiotlb_init(); | 39 | swiotlb_init(); |