+16
−10
Loading
Since only the virtual address of allocated blocks is used, lets use functions returning directly virtual address. Those functions have the advantage of also zeroing the block. Suggested-by:Mike Rapoport <rppt@linux.ibm.com> Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Acked-by:
Mike Rapoport <rppt@linux.ibm.com> Reviewed-by:
Nicholas Piggin <npiggin@gmail.com> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>