powerpc: Better split CONFIG_PPC_INDIRECT_PIO and CONFIG_PPC_INDIRECT_MMIO
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jul 2013 03:03:08 +0000 (13:03 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:57:50 +0000 (14:57 +1000)
commitecd73cc5c9e137559f4625b347f20cf9ed0de3d5
treedbf8d993e1802bd6a6a3bbf4775dd2c9e7193236
parentde021bb79c7636df24864fa2dbb958121303663b
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>
arch/powerpc/include/asm/io.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/io-workarounds.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/Kconfig