summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/pdc.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-07 03:25:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-07 03:25:14 +0000
commitc40df5dda453c73a81749b30aede8ad3fddbf561 (patch)
treebb6bd450c0d61fe98c500bb4243d3ea3ad19facf /sys/arch/hppa/dev/pdc.c
parent56ecf70394aa39a7b0a8391ab45ef525c652d211 (diff)
this is what it was supposed to be in the last commit
Diffstat (limited to 'sys/arch/hppa/dev/pdc.c')
-rw-r--r--sys/arch/hppa/dev/pdc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c
index 695d2721bbd..7f4053c469e 100644
--- a/sys/arch/hppa/dev/pdc.c
+++ b/sys/arch/hppa/dev/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.8 1999/08/12 23:49:07 mickey Exp $ */
+/* $OpenBSD: pdc.c,v 1.9 1999/09/07 03:25:13 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -331,7 +331,7 @@ pdc_call(func, pdc_flag)
va_end(va);
if (kernelmapped) {
- splhigh();
+ s = splhigh();
opsw = set_psw(PSW_Q |
((!pdc_flag && args[0] == PDC_PIM)? PSW_M:0));
}
@@ -341,7 +341,7 @@ pdc_call(func, pdc_flag)
if (kernelmapped) {
set_psw(opsw);
- s = splx(s);
+ splx(s);
}
return ret;