]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: move ret_from_fork etc above __end_soft_masked
authorNicholas Piggin <npiggin@gmail.com>
Wed, 30 Jun 2021 07:46:21 +0000 (17:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Jun 2021 12:21:20 +0000 (22:21 +1000)
commit436dabd8e5228f029bd85c5aa3fa45f6850f0a12
tree0891f6faff312e357b81bf1cace4d47f751e7e80
parent3b325aeca0716e8f2cc8368b449e22e2b1f02fe7
powerpc/64s: move ret_from_fork etc above __end_soft_masked

Code which runs with interrupts enabled should be moved above
__end_soft_masked where possible, because maskable interrupts that hit
below that symbol will need to consult the soft mask table, which is an
extra cost.

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-10-npiggin@gmail.com
arch/powerpc/kernel/interrupt_64.S