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)
commit91fc46eced0f70526d74468ac6c932c90a8585b3
tree0891f6faff312e357b81bf1cace4d47f751e7e80
parentc59458b00aec4ba580d9628d36d6c984af94d192
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