powerpc/rtas: Use rtas_call_unlocked() in call_rtas_display_status()
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Nov 2015 11:26:11 +0000 (22:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Dec 2015 11:40:56 +0000 (22:40 +1100)
commit4456f4524604be2558e5f6a8e0f7cc9ed17c783e
treec48ec0ac00174e11d2c7194c31216ec9d5649182
parentb2e8590fa1e35c38680dcb87c9d1bfdcc6c61a40
powerpc/rtas: Use rtas_call_unlocked() in call_rtas_display_status()

Although call_rtas_display_status() does actually want to use the
regular RTAS locking, it doesn't want the extra logic that is in
rtas_call(), so currently it open codes the logic.

Instead we can use rtas_call_unlocked(), after taking the RTAS lock.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/rtas.c