diff --git a/sys/arch/vax/vax/db_machdep.c b/sys/arch/vax/vax/db_machdep.c index c2cf6b49e239..e8154187212c 100644 --- a/sys/arch/vax/vax/db_machdep.c +++ b/sys/arch/vax/vax/db_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: db_machdep.c,v 1.26 2001/01/18 10:54:29 jdolecek Exp $ */ +/* $NetBSD: db_machdep.c,v 1.27 2001/04/12 06:08:44 thorpej Exp $ */ /* * :set tabs=4 @@ -144,7 +144,7 @@ kdb_trap(frame) /* XXX Should switch to interrupt stack here, if needed. */ - s = splimp(); + s = splhigh(); db_active++; cnpollc(TRUE); db_trap(frame->trap, frame->code); diff --git a/sys/arch/vax/vax/ka88.c b/sys/arch/vax/vax/ka88.c index 17bf1d2b5dba..49d4a1008d2e 100644 --- a/sys/arch/vax/vax/ka88.c +++ b/sys/arch/vax/vax/ka88.c @@ -1,4 +1,4 @@ -/* $NetBSD: ka88.c,v 1.1 2000/07/26 11:47:17 ragge Exp $ */ +/* $NetBSD: ka88.c,v 1.2 2001/04/12 06:12:17 thorpej Exp $ */ /* * Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved. @@ -262,7 +262,7 @@ rxcdintr(void *arg) static void tocons(int val) { - int s = splimp(); + int s = splhigh(); while ((mfpr(PR_TXCS) & GC_RDY) == 0) /* Wait until xmit ready */ ; @@ -273,7 +273,7 @@ tocons(int val) static int fromcons(int func) { - int ret, s = splimp(); + int ret, s = splhigh(); while (1) { while ((mfpr(PR_RXCS) & GC_DON) == 0) @@ -290,7 +290,7 @@ static int ka88_clkread(time_t base) { union {u_int ret;u_char r[4];} u; - int i, s = splimp(); + int i, s = splhigh(); tocons(KA88_COMM|KA88_TOYREAD); for (i = 0; i < 4; i++) { @@ -304,7 +304,7 @@ static void ka88_clkwrite(void) { union {u_int ret;u_char r[4];} u; - int i, s = splimp(); + int i, s = splhigh(); u.ret = time.tv_sec - yeartonum(numtoyear(time.tv_sec)); tocons(KA88_COMM|KA88_TOYWRITE);