[PATCH]ppc_ksyms needs consistent_ funcs

STALE9105d

2 messages, 2 authors, 2001-09-21 · open the first message on its own page

[PATCH]ppc_ksyms needs consistent_ funcs

From: andrew may <hidden>
Date: 2001-09-21 04:08:36

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.


diff -ur linux-base/arch/ppc/kernel/ppc_ksyms.c linux-ppc/arch/ppc/kernel/ppc_ksyms.c
--- linux-base/arch/ppc/kernel/ppc_ksyms.c      Thu Sep 20 08:56:50 2001
+++ linux-ppc/arch/ppc/kernel/ppc_ksyms.c       Thu Sep 20 20:22:12 2001
@@ -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/

Re: [PATCH]ppc_ksyms needs consistent_ funcs

From: Dan Malek <hidden>
Date: 2001-09-21 04:36:27

andrew may wrote:
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help