OSDN Git Service

powerpc/32: don't restore r0, r6-r8 on exception entry path after trace_hardirqs_off()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 7 Jan 2020 09:16:40 +0000 (09:16 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 25 Feb 2020 23:34:40 +0000 (10:34 +1100)
commit05642cf7289c5562e5939d2ee8a0529d310010b8
tree1e344c650300f74315dc9dac641cba78601a170a
parente1347a020b81fe47c80cd277bfaa61295a9482a4
powerpc/32: don't restore r0, r6-r8 on exception entry path after trace_hardirqs_off()

Since commit b86fb88855ea ("powerpc/32: implement fast entry for
syscalls on non BOOKE") and commit 1a4b739bbb4f ("powerpc/32:
implement fast entry for syscalls on BOOKE"), syscalls don't
use the exception entry path anymore. It is therefore pointless
to restore r0 and r6-r8 after calling trace_hardirqs_off().

In the meantime, drop the '2:' label which is unused and misleading.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/d2c6dc65d27e83964eb05f16a126161ab6455eea.1578388585.git.christophe.leroy@c-s.fr
arch/powerpc/kernel/entry_32.S