diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-16 21:39:43 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-16 21:39:43 +0000 |
commit | 3ee6ef67e8271bd77406ae874e21c85c9b1b7e2f (patch) | |
tree | 788dd098a658c5801c1d4f1b45b1e8e4890c43fd /sys | |
parent | defdc31e30518c2ac5c743e48976e853fc986aaa (diff) |
Missing splx in setfault() error path.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/pci/mpcpcibus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/pci/mpcpcibus.c b/sys/arch/macppc/pci/mpcpcibus.c index 170d2ae936f..976d52a45fe 100644 --- a/sys/arch/macppc/pci/mpcpcibus.c +++ b/sys/arch/macppc/pci/mpcpcibus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpcpcibus.c,v 1.27 2005/11/07 02:19:46 brad Exp $ */ +/* $OpenBSD: mpcpcibus.c,v 1.28 2005/12/16 21:39:42 miod Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -781,6 +781,7 @@ mpc_conf_read(void *cpv, pcitag_t tag, int offset) if (setfault(&env)) { /* we faulted during the read? */ curpcb->pcb_onfault = oldh; + splx(s); return 0xffffffff; } |