summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-11-19 19:36:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-11-19 19:36:41 +0000
commit014ac6c7203e2fdd1bca463fcfbc018d6ca86aa8 (patch)
treea0755cbbd5757b22428abd3b2d1118dca84d4dec
parent8240e8d3936c7af5a644d051c1b90078d95484a8 (diff)
You know you're getting too old to code when you're finding stupid bugs
months later. Here, we would service ast based on p != NULL, instead of p->p_md.md_astpending != 0...
-rw-r--r--sys/arch/m88k/m88k/eh_common.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/m88k/m88k/eh_common.S b/sys/arch/m88k/m88k/eh_common.S
index eceaaacbcd0..145cf9e985f 100644
--- a/sys/arch/m88k/m88k/eh_common.S
+++ b/sys/arch/m88k/m88k/eh_common.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: eh_common.S,v 1.20 2006/11/18 22:53:07 miod Exp $ */
+/* $OpenBSD: eh_common.S,v 1.21 2006/11/19 19:36:40 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -1698,9 +1698,9 @@ ASLOCAL(no_softint)
ldcr r2, CPU
ld r3, r2, CI_CURPROC
- bcnd.n eq0, r3, _ASM_LABEL(no_ast) /* no AST if no process! */
- ld r2, r3, P_ASTPENDING
- bcnd.n eq0, r3, _ASM_LABEL(no_ast) /* .n safe since the first
+ bcnd eq0, r3, _ASM_LABEL(no_ast) /* no AST if no process! */
+ ld r2, r3, P_ASTPENDING
+ bcnd.n eq0, r2, _ASM_LABEL(no_ast) /* .n safe since the first
instruction of CALL() is
safe in a delay slot. */
/*