diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-29 19:57:49 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-29 19:57:49 +0000 |
commit | 620a052131b46dc5d8fcb9070b1bb7d96e610850 (patch) | |
tree | f91df96ffa1b5e752efcfe36843a2b6812285509 /sys/arch/mvme88k | |
parent | 40bcb62b105c1d656ffb72880e71291f8f1e0321 (diff) |
When a secondary cpu gets its interrupt pin stuck, be sure to savectx
and put the process it was running back on the run queue (unless this was
the idle proc).
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/m188_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m188_machdep.c b/sys/arch/mvme88k/mvme88k/m188_machdep.c index 82b7512ea45..f43f09077b2 100644 --- a/sys/arch/mvme88k/mvme88k/m188_machdep.c +++ b/sys/arch/mvme88k/mvme88k/m188_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m188_machdep.c,v 1.32 2007/05/19 20:50:06 miod Exp $ */ +/* $OpenBSD: m188_machdep.c,v 1.33 2007/10/29 19:57:48 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -484,8 +484,8 @@ m188_ext_int(u_int v, struct trapframe *eframe) if (++problems >= 10) { printf("cpu%d: interrupt pin won't clear, " "disabling processor\n", cpu); - set_psr(get_psr() | PSR_IND); - for (;;) ; + cpu_emergency_disable(); + /* NOTREACHED */ } } #endif |