summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-05 13:38:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-05 13:38:40 +0000
commit3dc322289eb175e89975de5208f7e1097b2ead75 (patch)
treef2aa171df45bfb7dc26c3790b40fef44f7a635db /sys/arch/vax
parent2a3afa013c54e90eca1f362f0d66938024368eff (diff)
from ragge:
An '&' missing in splx macro; causing that sometimes didn't the interrupt level get set.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h
index 9829484dddd..c9be598e85d 100644
--- a/sys/arch/vax/include/param.h
+++ b/sys/arch/vax/include/param.h
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.13 1995/12/04 22:32:53 ragge Exp $ */
+/* $NetBSD: param.h,v 1.14 1995/12/30 21:37:31 ragge Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -149,7 +149,7 @@
({ \
register int val; \
asm __volatile ("mfpr $0x12,%0;mtpr %1,$0x12" \
- : "=g" (val) \
+ : "&=g" (val) \
: "g" (reg)); \
val; \
})
@@ -168,7 +168,7 @@
#define splhigh() splx(0x1f) /* IPL1F */
#define splstatclock() splclock()
-#define ovbcopy(x,y,z) bcopy(x,y,z) /* This should work i hope... */
+#define ovbcopy(x,y,z) bcopy(x,y,z)
#define vmapbuf(p,q)
#define vunmapbuf(p,q)