-
- Downloads
powerpc: pseries: remove dlpar_attach_node dependency on full path
In preparation to stop storing the full node path in full_name, remove the dependency on full_name from dlpar_attach_node(). Callers of dlpar_attach_node() already have the parent device_node, so just pass the parent node into dlpar_attach_node instead of the path. This avoids doing a lookup of the parent node by the path. Signed-off-by:Rob Herring <robh@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/platforms/pseries/dlpar.c 2 additions, 4 deletionsarch/powerpc/platforms/pseries/dlpar.c
- arch/powerpc/platforms/pseries/hotplug-cpu.c 1 addition, 1 deletionarch/powerpc/platforms/pseries/hotplug-cpu.c
- arch/powerpc/platforms/pseries/mobility.c 1 addition, 1 deletionarch/powerpc/platforms/pseries/mobility.c
- arch/powerpc/platforms/pseries/pseries.h 1 addition, 1 deletionarch/powerpc/platforms/pseries/pseries.h
Loading
Please register or sign in to comment