Skip to contentSkip to conversation

ppc_ksyms needs consistent_ funcs

PATCH In review andrew may 2 participants 2 messages Sep 21, 2001

lore
Share & tools
lore

andrew may

author
#0 lore raw

PATCH 1/1 ppc_ksyms needs consistent_ funcs

I don't know if these need to be conditional or not but I need them exported to work on a PCI driver.

It seems strange the pci_alloc/free_consistent need CONFIG_PCI and pci_bus_to_phys and friends check CONFIG_ALL_PPC.

arch/ppc/kernel/ppc_ksyms.c Thu Sep 20 20:22:12 2001 renamed from arch/ppc/kernel/ppc_ksyms.c Thu Sep 20 08:56:50 2001 +4 -0
diff -ur linux-base/arch/ppc/kernel/ppc_ksyms.c linux-ppc/arch/ppc/kernel/ppc_ksyms.c
@@ -174,6 +174,10 @@
 EXPORT_SYMBOL(pci_free_consistent);
 #endif /* CONFIG_PCI */
 
+EXPORT_SYMBOL(consistent_alloc);
+EXPORT_SYMBOL(consistent_free);
+EXPORT_SYMBOL(consistent_sync);
+
 EXPORT_SYMBOL(start_thread);
 EXPORT_SYMBOL(kernel_thread);
 

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 3 lines · andrew may

I don't know if these need to be conditional or not but I need them exported to work on a PCI driver.

I think they need to be wrapped with CONFIG_NOT_COHERENT_CACHE, I'll check. Sorry I missed them.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/