]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: switch to GENERIC_PCI_IOMAP
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 24 Nov 2011 19:06:41 +0000 (21:06 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Nov 2011 19:13:18 +0000 (21:13 +0200)
commit335b8cf7c383c5589d29addd7c4149741a4014b9
tree3c33637463d5e932bcf8bfcb9fd88f8ffe082518
parent629a858160751b670e1376dab4788f0c84138cc6
powerpc: switch to GENERIC_PCI_IOMAP

powerpc copied pci_iomap from generic code, probably to avoid
pulling the rest of iomap.c in.  Since that's in
a separate file now, we can reuse the common implementation.

The only difference is handling of nocache flag,
that turns out to be done correctly by the
generic code since arch/powerpc/include/asm/io.h
defines ioremap_nocache same as ioremap.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch/powerpc/Kconfig
arch/powerpc/kernel/iomap.c