powerpc/pseries: Factor out DTL buffer allocation and registration routines
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 3 Jul 2019 17:03:56 +0000 (22:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jul 2019 12:23:10 +0000 (22:23 +1000)
commit1c85a2a1945cbafcd2e7cebc6e23d0e206aeda3d
tree04faeb3cd69166fa684f2b9dbee9ff2f07f0afa9
parent5b3306f084590b298c1fe1b02aca5bac1abbbc34
powerpc/pseries: Factor out DTL buffer allocation and registration routines

Introduce new helpers for DTL buffer allocation and registration and
have the existing code use those.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
[mpe: Don't split error messages across lines, for grepability]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/lppaca.h
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/setup.c