diff options
author | 2021-03-12 12:50:33 +0000 | |
---|---|---|
committer | 2021-03-29 13:22:07 +1100 | |
commit | e9f99704aafcdbd90ba20b81db2dae8526d8b8e5 (patch) | |
tree | 1a93d1205ff925485eed1d337c7e88a30d67093b /arch/powerpc/kernel/head_booke.h | |
parent | powerpc/32: Perform normal function call in exception entry (diff) | |
download | linux-e9f99704aafcdbd90ba20b81db2dae8526d8b8e5.tar.gz linux-e9f99704aafcdbd90ba20b81db2dae8526d8b8e5.tar.bz2 linux-e9f99704aafcdbd90ba20b81db2dae8526d8b8e5.zip |
powerpc/32: Always save non volatile registers on exception entry
In preparation of handling exception entry and exit in C,
in order to simplify the handling, always save non volatile registers
when entering an exception.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3ce8ced87a4f1467fa36fcc50763d53b45e466c1.1615552867.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/head_booke.h')
-rw-r--r-- | arch/powerpc/kernel/head_booke.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h index 3707f49f0b78..b31bf9e833c0 100644 --- a/arch/powerpc/kernel/head_booke.h +++ b/arch/powerpc/kernel/head_booke.h @@ -331,7 +331,7 @@ label: ret_from_except_full) #define EXC_XFER_LITE(n, hdlr) \ - EXC_XFER_TEMPLATE(hdlr, n+1, MSR_KERNEL, transfer_to_handler, \ + EXC_XFER_TEMPLATE(hdlr, n, MSR_KERNEL, transfer_to_handler, \ ret_from_except) /* Check for a single step debug exception while in an exception |