]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19ee57b23a74c537fae78335fa75538098ae7d54
tree1e344c650300f74315dc9dac641cba78601a170a
parent29620726e8d5444f115772c8d4e21fb3e8e5ca92
powerpc/32: don't restore r0, r6-r8 on exception entry path after trace_hardirqs_off()

Since commit 256deb74458f ("powerpc/32: implement fast entry for
syscalls on non BOOKE") and commit 71cdaf71c543 ("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