summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-05-04 19:57:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-05-04 19:57:26 +0000
commitc6e0131093ae07a4a2fa1a19b64047ee8568f90a (patch)
treefd862b3c1a6038061d86490fbe7c3f09d962e105 /sys/arch/hp300
parent4aa0a65b343533bf4beecb6682f4ce72ec190fee (diff)
Change "&=" to "=&", make egcs happy.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/include/intr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/include/intr.h b/sys/arch/hp300/include/intr.h
index 8766efa73dc..a61802df8bb 100644
--- a/sys/arch/hp300/include/intr.h
+++ b/sys/arch/hp300/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.2 1997/09/23 07:09:55 downsj Exp $ */
+/* $OpenBSD: intr.h,v 1.3 1999/05/04 19:57:25 millert Exp $ */
/* $NetBSD: intr.h,v 1.2 1997/07/24 05:43:08 scottr Exp $ */
/*-
@@ -93,7 +93,7 @@ struct isr {
register int _spl_r; \
\
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
- "&=d" (_spl_r) : "di" (s)); \
+ "=&d" (_spl_r) : "di" (s)); \
_spl_r; \
})
@@ -112,7 +112,7 @@ struct isr {
jle 1f ; \
movw %1,sr ; \
1:" : \
- "&=d" (_spl_r) : \
+ "=&d" (_spl_r) : \
"di" (s) : \
"d0", "d1"); \
_spl_r; \