powerpc/64/interrupt: Fix false warning in context tracking due to idle state
authorNicholas Piggin <npiggin@gmail.com>
Mon, 26 Sep 2022 05:42:59 +0000 (15:42 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:11 +0000 (19:22 +1000)
commit56adbb7a8b6cc7fc9b940829c38494e53c9e57d1
tree71e68a2fc75357f7ccf7a8e262dbe88ac4104515
parenta5edf9815dd739fce660b4c8658f61b7d2517042
powerpc/64/interrupt: Fix false warning in context tracking due to idle state

Commit 171476775d32 ("context_tracking: Convert state to atomic_t")
added a CONTEXT_IDLE state which can be encountered by interrupts from
kernel mode in the idle thread, causing a false positive warning.

Fixes: 171476775d32 ("context_tracking: Convert state to atomic_t")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220926054305.2671436-2-npiggin@gmail.com
arch/powerpc/include/asm/interrupt.h