powerpc/powernv: de-deuplicate OPAL call wrappers
authorOliver O'Halloran <oohall@gmail.com>
Thu, 23 Mar 2017 07:54:01 +0000 (18:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Mar 2017 23:52:02 +0000 (10:52 +1100)
commitc3a08e93d66e9ba59ffbfb610af2f76b82200185
tree47ef5d7122ec63c364607af04542bf9daca97713
parentde78ae6c9ef55d9ded036c8e29d9364e1ce5f6b7
powerpc/powernv: de-deuplicate OPAL call wrappers

Currently the code to perform an OPAL call is duplicated between the
normal path and path taken when tracepoints are enabled. There's no
real need for this and combining them makes opal_tracepoint_entry
considerably easier to understand.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-wrappers.S