diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-03-09 12:09:26 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-03-12 11:02:12 +1100 |
commit | 0b736881c8f1a6cd912f7a9162b9e097b28c1c30 (patch) | |
tree | b4ce4747259fea94964b96c5e0c37bed158d0e65 /drivers/power/supply/pmu_battery.c | |
parent | bd73758803c2eedc037c2268b65a19542a832594 (diff) |
powerpc/traps: unrecoverable_exception() is not an interrupt handler
unrecoverable_exception() is called from interrupt handlers or
after an interrupt handler has failed.
Make it a standard function to avoid doubling the actions
performed on interrupt entry (e.g.: user time accounting).
Fixes: 3a96570ffceb ("powerpc: convert interrupt handlers to use wrappers")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae96c59fa2cb7f24a8929c58cfa2c909cb8ff1f1.1615291471.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/power/supply/pmu_battery.c')
0 files changed, 0 insertions, 0 deletions