summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-01-13 20:09:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-01-13 20:09:20 +0000
commit0b4bfbb375026963f94d612217c8eae7f98c052e (patch)
treec19e9f8ca3e5bfc1cad211bc6a7b9d2cf1902d7a /sys/arch/mvme88k/dev
parent63b23d923669a6ac12a3094e882232a581064129 (diff)
Missing splx()
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r--sys/arch/mvme88k/dev/cl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c
index 0d15542f16e..c79cf72daa4 100644
--- a/sys/arch/mvme88k/dev/cl.c
+++ b/sys/arch/mvme88k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.26 2002/06/12 03:49:56 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.27 2003/01/13 20:09:19 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -59,7 +59,7 @@
#include <ddb/db_var.h>
#endif
-#define splcl() splx(IPL_TTY)
+#define splcl() spltty()
/* min timeout 0xa, what is a good value */
#define CL_TIMEOUT 0x10
@@ -1338,6 +1338,7 @@ clccparam(sc, par, channel)
sc->cl_reg->cl_cor4 = ints | CL_FIFO_CNT;
sc->cl_reg->cl_cor5 = ints | CL_FIFO_CNT;
+ splx(s);
return imask;
}