ppc4xx: fix UIC hang if critical or non-critical interrupt is set at the same time as a normal interrupt is set on UIC0
PATCH 1/1 ppc4xx: fix UIC hang if critical or non-critical interrupt is set at the same time as a normal interrupt is set on UIC0
From: Victor Gallardo <[email protected]>
Signed-off-by Victor Gallardo <[email protected]>
--- cpu/ppc4xx/uic.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
cpu/ppc4xx/uic.c +2 -2
@@ -129,11 +129,11 @@ void external_interrupt(struct pt_regs *regs)uic_interrupt (UIC3_DCR_BASE ,96 );#endif +mtdcr (uic0sr, (uic_msr &UICB0_ALL )); +if (uic_msr & ~(UICB0_ALL ))uic_interrupt (UIC0_DCR_BASE ,0 ); -mtdcr (uic0sr, uic_msr); -return ; }
Signature · 1 line
1.5.5