]> 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)
commitc4cdea481d1432d288ea129b08d4448b9cd01b95
treedf2de020255d500f9ff1e8980a6a920e26310448
parentc7c237594d41c2163d6222b1a432ac580bdf38de
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