aboutsummaryrefslogtreecommitdiff
path: root/arch/openrisc/mm/ioremap.c
diff options
context:
space:
mode:
authorMike Rapoport <[email protected]>2019-03-07 16:30:57 -0800
committerLinus Torvalds <[email protected]>2019-03-07 18:32:03 -0800
commit47f1e926aeb25f0ee3d351cb21bb0b630941ce46 (patch)
treee05b4f3d1c341940010acae2b438c6801afb6627 /arch/openrisc/mm/ioremap.c
parent3e5e79f240425d93b6c21409c82cbc3d5c2cb71b (diff)
sh: prefer memblock APIs returning virtual address
Rather than use the memblock_alloc_base that returns a physical address and then convert this address to the virtual one, use appropriate memblock function that returns a virtual address. There is a small functional change in the allocation of then NODE_DATA(). Instead of panicing if the local allocation failed, the non-local allocation attempt will be made. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Greentime Hu <[email protected]> Cc: Guan Xuetao <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Jonas Bonn <[email protected]> Cc: Mark Salter <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Michal Simek <[email protected]> Cc: Michal Simek <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Rich Felker <[email protected]> Cc: Russell King <[email protected]> Cc: Stafford Horne <[email protected]> Cc: Stefan Kristiansson <[email protected]> Cc: Vincent Chen <[email protected]> Cc: Yoshinori Sato <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/openrisc/mm/ioremap.c')
0 files changed, 0 insertions, 0 deletions