]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/interrupt: clean up interrupt return labels
authorNicholas Piggin <npiggin@gmail.com>
Wed, 30 Jun 2021 07:46:20 +0000 (17:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Jun 2021 12:21:20 +0000 (22:21 +1000)
commit3b325aeca0716e8f2cc8368b449e22e2b1f02fe7
tree598752cc2f1f673dd87530ee43b0ba402d51ae21
parent3cd0d189a32537b12dc41098b250f77d6d55fc6d
powerpc/64s/interrupt: clean up interrupt return labels

Normal kernel-interrupt exits can get interrupt_return_srr_user_restart
in their backtrace, which is an unusual and notable function, and it is
part of the user-interrupt exit path, which is doubly confusing.

Add non-local labels for both user and kernel interrupt exit cases to
address this and make the user and kernel cases more symmetric. Also get
rid of an unused label.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210630074621.2109197-9-npiggin@gmail.com
arch/powerpc/kernel/interrupt_64.S