Skip to contentSkip to conversation

correct exports

PATCH Jan Beulich 1 participant 1 message Jul 1, 2005

lore
Share & tools
lore
#0 lore raw

Some exports were misssing/mis-qualified. Adjustment below/attached.

Jan

arch/xen/i386/kernel/i386_ksyms.c +1 -1
@@ -76,7 +76,7 @@ EXPORT_SYMBOL(ioremap_nocache);
 EXPORT_SYMBOL(iounmap);
 EXPORT_SYMBOL(kernel_thread);
 EXPORT_SYMBOL(pm_idle);
-#ifdef CONFIG_APM
+#ifdef CONFIG_ACPI_BOOT
 EXPORT_SYMBOL(pm_power_off);
 #endif
 EXPORT_SYMBOL(get_cmos_time);
arch/xen/x86_64/kernel/pci-dma.c +2 -0
@@ -58,6 +58,8 @@ void dma_unmap_sg(struct device *dev, st
 	} 
 }
 
+EXPORT_SYMBOL(dma_unmap_sg);
+
 struct dma_coherent_mem {
 	void		*virt_base;
 	u32		device_base;
arch/xen/x86_64/kernel/x8664_ksyms.c +3 -1
@@ -59,7 +59,9 @@ EXPORT_SYMBOL(disable_irq_nosync);
 EXPORT_SYMBOL(probe_irq_mask);
 EXPORT_SYMBOL(kernel_thread);
 EXPORT_SYMBOL(pm_idle);
-// EXPORT_SYMBOL(pm_power_off);
+#ifdef CONFIG_ACPI_BOOT
+EXPORT_SYMBOL(pm_power_off);
+#endif
 EXPORT_SYMBOL(get_cmos_time);
 
 EXPORT_SYMBOL(__down_failed);
arch/xen/i386/kernel/i386_ksyms.c +1 -1
@@ -76,7 +76,7 @@ EXPORT_SYMBOL(ioremap_nocache);
 EXPORT_SYMBOL(iounmap);
 EXPORT_SYMBOL(kernel_thread);
 EXPORT_SYMBOL(pm_idle);
-#ifdef CONFIG_APM
+#ifdef CONFIG_ACPI_BOOT
 EXPORT_SYMBOL(pm_power_off);
 #endif
 EXPORT_SYMBOL(get_cmos_time);
arch/xen/x86_64/kernel/pci-dma.c +2 -0
@@ -58,6 +58,8 @@ void dma_unmap_sg(struct device *dev, st
 	} 
 }
 
+EXPORT_SYMBOL(dma_unmap_sg);
+
 struct dma_coherent_mem {
 	void		*virt_base;
 	u32		device_base;
arch/xen/x86_64/kernel/x8664_ksyms.c +3 -1
@@ -59,7 +59,9 @@ EXPORT_SYMBOL(disable_irq_nosync);
 EXPORT_SYMBOL(probe_irq_mask);
 EXPORT_SYMBOL(kernel_thread);
 EXPORT_SYMBOL(pm_idle);
-// EXPORT_SYMBOL(pm_power_off);
+#ifdef CONFIG_ACPI_BOOT
+EXPORT_SYMBOL(pm_power_off);
+#endif
 EXPORT_SYMBOL(get_cmos_time);
 
 EXPORT_SYMBOL(__down_failed);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel