export more symbols on sparc32
PATCH 1/1 export more symbols on sparc32
Hello,
this patch against 2.6.8.1 exports a bunch of symbols that allow our highly modular configs to work.
Now, re: the pci hunk, it may not be worth applying; a better solution might be to turn off PCI for sparc32.. I have never seen a PCI-gifted sparc32 but the config is largely an 'allmodconfig' and I decided to just see what would happen.
Comments?
Signature · 1 line
Joshua Kwan
# DP: export more symbols for sparc32 so we can get our stuff built # DP: upstream-status: unsent
arch/sparc/kernel/sparc_ksyms.c renamed from arch/sparc/kernel/sparc_ksyms.c~ +7 -0
@@ -214,6 +214,10 @@EXPORT_SYMBOL (pci_dma_sync_single_for_device);EXPORT_SYMBOL (pci_dma_sync_sg_for_cpu);EXPORT_SYMBOL (pci_dma_sync_sg_for_device); +EXPORT_SYMBOL (pci_map_sg); +EXPORT_SYMBOL (pci_unmap_sg); +EXPORT_SYMBOL (pci_map_page); +EXPORT_SYMBOL (pci_unmap_page);/* Actually, ioremap/iounmap are not PCI specific. But it is ok for drivers. */ EXPORT_SYMBOL (ioremap);EXPORT_SYMBOL (iounmap);
@@ -298,6 +302,9 @@/* Cache flushing. */ EXPORT_SYMBOL (sparc_flush_page_to_ram); +/* For when serial stuff is built as modules. */ +EXPORT_SYMBOL (sun_do_break); +EXPORT_SYMBOL (__ret_efault);EXPORT_SYMBOL (memcmp);
Quoted 4 lines · On Fri, 27 Aug 2004 12:41:07 -0700 Joshua Kwan <[email protected]> wrote:
Now, re: the pci hunk, it may not be worth applying; a better solution might be to turn off PCI for sparc32.. I have never seen a PCI-gifted sparc32 but the config is largely an 'allmodconfig' and I decided to just see what would happen.
JavaStation systems have PCI.
Quoted 3 lines · Joshua Kwan
Now, re: the pci hunk, it may not be worth applying; a better solution might be to turn off PCI for sparc32.. I have never seen a PCI-gifted sparc32
You only need PCI sparc32 for Javastations, but they need a special nfsroot setup anyway and are best dealt with separately with their own minimised kernel and pre-installed root filesystem. No installer is required, just the ability to add packages.