powerpc: Avoid an unnecessary test and branch in longjmp()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 17 Apr 2018 17:08:16 +0000 (19:08 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 May 2018 14:09:05 +0000 (00:09 +1000)
commit24c78586cc6798028205e12c34febf0337bcbded
treedf2de020255d500f9ff1e8980a6a920e26310448
parent96f391cf40ee5c9201cc7b55abe3903761e6a2e2
powerpc: Avoid an unnecessary test and branch in longjmp()

Doing the test at exit of the function avoids an unnecessary
test and branch inside longjmp().

Semantics are unchanged.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/misc.S