Mike Rapoport <[email protected]> writes: > From: Christophe Leroy <[email protected]> > > 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. > > [ MR: > - updated error message in alloc_stack() to be more verbose > - convereted several additional call sites ] > > Signed-off-by: Christophe Leroy <[email protected]> > Signed-off-by: Mike Rapoport <[email protected]> > --- > arch/powerpc/kernel/dt_cpu_ftrs.c | 3 +-- > arch/powerpc/kernel/irq.c | 5 ----- > arch/powerpc/kernel/paca.c | 6 +++++- > arch/powerpc/kernel/prom.c | 5 ++++- > arch/powerpc/kernel/setup_32.c | 26 ++++++++++++++++---------- > 5 files changed, 26 insertions(+), 19 deletions(-)
LGTM. Acked-by: Michael Ellerman <[email protected]> cheers _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
