sparc: iounmap() and *_free_coherent() - Use lookup_resource()
commita0e997c20a2fbe25b0f97fb7521cdbda341c7f0a
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 7 May 2011 18:58:02 +0000 (7 20:58 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:39 +0000 (30 21:21 +0200)
tree9e9f1d329145328a47a7f30215c072e4e2939123
parent217bbd81885587b462311fab1b04172926c59f1e
sparc: iounmap() and *_free_coherent() - Use lookup_resource()

Replace a custom implementation (which doesn't lock the resource tree) by a
call to lookup_resource()

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ioport.c