diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-01-16 01:21:07 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-01-16 01:21:07 +0100 |
commit | 2680eecc499e43679be098e5834d4f3a62f59a0c (patch) | |
tree | 32771b7ae2f930a6f107f9c86d7de03f9622f03f /libdde_linux26/contrib/arch | |
parent | 51299b970600d28df634708557f80df3526014ae (diff) |
prepare to use initcall to do initialization.
Diffstat (limited to 'libdde_linux26/contrib/arch')
-rw-r--r-- | libdde_linux26/contrib/arch/x86/kernel/pci-dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c b/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c index 3a26519b..b2542853 100644 --- a/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c +++ b/libdde_linux26/contrib/arch/x86/kernel/pci-dma.c @@ -263,7 +263,7 @@ int dma_supported(struct device *dev, u64 mask) } EXPORT_SYMBOL(dma_supported); -int __init pci_iommu_init(void) +static int __init pci_iommu_init(void) { calgary_iommu_init(); @@ -282,7 +282,7 @@ void pci_iommu_shutdown(void) gart_iommu_shutdown(); } /* Must execute after PCI subsystem */ -//fs_initcall(pci_iommu_init); +fs_initcall(pci_iommu_init); #ifdef CONFIG_PCI /* Many VIA bridges seem to corrupt data for DAC. Disable it here */ |