]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/64: Refactor interrupt exit irq disabling sequence
authorNicholas Piggin <npiggin@gmail.com>
Wed, 29 Apr 2020 06:24:21 +0000 (16:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 May 2020 13:24:34 +0000 (23:24 +1000)
commit0bdad33d6bd7b80722e2f9e588d3d7c6d6e34978
treefaa7974e3b68edc5ba4babb8fa6665dfbb3f8a67
parent18594f9b8c45484bd527ebc6b08383b95f58ba73
powerpc/64: Refactor interrupt exit irq disabling sequence

The same complicated sequence for juggling EE, RI, soft mask, and
irq tracing is repeated 3 times, tidy these up into one function.

This differs qiute a bit between sub architectures, so this makes
the ppc32 port cleaner as well.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200429062421.1675400-1-npiggin@gmail.com
arch/powerpc/kernel/syscall_64.c