powerpc: Better split CONFIG_PPC_INDIRECT_PIO and CONFIG_PPC_INDIRECT_MMIO
Remove the generic PPC_INDIRECT_IO and ensure we only add overhead to the right accessors. IE. If only CONFIG_PPC_INDIRECT_PIO is set, we don't add overhead to all MMIO accessors. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@@ -716,8 +716,7 @@ void __init setup_per_cpu_areas(void)
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_PPC_INDIRECT_IO
|
||||
#if defined(CONFIG_PPC_INDIRECT_PIO) || defined(CONFIG_PPC_INDIRECT_MMIO)
|
||||
struct ppc_pci_io ppc_pci_io;
|
||||
EXPORT_SYMBOL(ppc_pci_io);
|
||||
#endif /* CONFIG_PPC_INDIRECT_IO */
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user