diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2026-06-21 21:58:44 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2026-06-21 22:00:34 +0000 |
| commit | b3249ed3a6edb993b9acea6358c103d591afb08b (patch) | |
| tree | 027206614708f8cd9b8a0c18ea4846a232f1f351 | |
| parent | 9faeaac936aea78f9b5ce1a8ad3d27e2632d4e37 (diff) | |
powerpc/booke: Save watchdog context to "critical" save area
Watchdog interrupt is a "critical" interrupt, so save the correct
registers (CSSRn, into critical save area).
| -rw-r--r-- | sys/powerpc/booke/trap_subr.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/booke/trap_subr.S b/sys/powerpc/booke/trap_subr.S index cb4d99e6fffb..4bfd2118fb8f 100644 --- a/sys/powerpc/booke/trap_subr.S +++ b/sys/powerpc/booke/trap_subr.S @@ -613,8 +613,8 @@ INTERRUPT(int_fixed_interval_timer) * Watchdog interrupt ****************************************************************************/ INTERRUPT(int_watchdog) - STANDARD_PROLOG(SPR_SPRG1, PC_TEMPSAVE, SPR_SRR0, SPR_SRR1) - FRAME_SETUP(SPR_SPRG1, PC_TEMPSAVE, EXC_WDOG) + STANDARD_CRIT_PROLOG(SPR_SPRG1, PC_BOOKE_CRITSAVE, SPR_CSRR0, SPR_CSRR1) + FRAME_SETUP(SPR_SPRG1, PC_BOOKE_CRITSAVE, EXC_WDOG) b trap_common |
