]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: __ioremap_at clean up in the error case
authorNicholas Piggin <npiggin@gmail.com>
Mon, 10 Jun 2019 03:08:16 +0000 (13:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Jun 2019 10:05:09 +0000 (20:05 +1000)
commit3ed2553d4d084d0429220ee659d76b855ca93846
treebf4f3481124482cb42d3ea184d1e93b2b50d76c8
parentd95006cd1db1a16c5f0990014974bf96bf4de899
powerpc/64: __ioremap_at clean up in the error case

__ioremap_at error handling is wonky, it requires caller to clean up
after it. Implement a helper that does the map and error cleanup and
remove the requirement from the caller.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable_64.c