sparc32: introduce asm-generic/io.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 26 Apr 2014 07:57:36 +0000 (09:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2014 05:30:21 +0000 (01:30 -0400)
commite1039fb426094d376d58d7be9521fdb778ab108e
treea0b94eb38453218c018f92b2b85202f2211a65a9
parent01c6505d602f47d93209f82bd652329d0e17eeb0
sparc32: introduce asm-generic/io.h

Use asm-generic/io.h definitions where applicable.
The inxx() and outxx() methods whcih was duplicated in pcic.c +
leon_pci.c are replaced by a set of static inlins from asm-generic/io.h

iomap.c is replaced by the generic versions, but are still
present to support sparc64.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/io_32.h
arch/sparc/kernel/leon_pci.c
arch/sparc/kernel/pcic.c
arch/sparc/lib/Makefile