]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaabb64a41f10d7d4733e0f997dc90b6433bc344f
treedf2de020255d500f9ff1e8980a6a920e26310448
parent6974e6a5b25be9d52801fe62e44925b22dec543a
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