diff options
-rw-r--r-- | arch/x86_64/kernel/tce.c | 2 | ||||
-rw-r--r-- | include/asm-x86_64/tce.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/tce.c b/arch/x86_64/kernel/tce.c index 821527e7faa3..e3f2569b2c44 100644 --- a/arch/x86_64/kernel/tce.c +++ b/arch/x86_64/kernel/tce.c | |||
@@ -131,7 +131,7 @@ done: | |||
131 | return ret; | 131 | return ret; |
132 | } | 132 | } |
133 | 133 | ||
134 | int build_tce_table(struct pci_dev *dev, void __iomem *bbar) | 134 | int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar) |
135 | { | 135 | { |
136 | struct iommu_table *tbl; | 136 | struct iommu_table *tbl; |
137 | int ret; | 137 | int ret; |
diff --git a/include/asm-x86_64/tce.h b/include/asm-x86_64/tce.h index dbb047febc5e..cd955d3d112f 100644 --- a/include/asm-x86_64/tce.h +++ b/include/asm-x86_64/tce.h | |||
@@ -41,8 +41,8 @@ struct iommu_table; | |||
41 | extern void tce_build(struct iommu_table *tbl, unsigned long index, | 41 | extern void tce_build(struct iommu_table *tbl, unsigned long index, |
42 | unsigned int npages, unsigned long uaddr, int direction); | 42 | unsigned int npages, unsigned long uaddr, int direction); |
43 | extern void tce_free(struct iommu_table *tbl, long index, unsigned int npages); | 43 | extern void tce_free(struct iommu_table *tbl, long index, unsigned int npages); |
44 | extern void* alloc_tce_table(void); | 44 | extern void * __init alloc_tce_table(void); |
45 | extern void free_tce_table(void *tbl); | 45 | extern void __init free_tce_table(void *tbl); |
46 | extern int build_tce_table(struct pci_dev *dev, void __iomem *bbar); | 46 | extern int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar); |
47 | 47 | ||
48 | #endif /* _ASM_X86_64_TCE_H */ | 48 | #endif /* _ASM_X86_64_TCE_H */ |