summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2001-12-16 20:58:25 +0000
committergmcgarry <gmcgarry@NetBSD.org>2001-12-16 20:58:25 +0000
commitbdfdbd823370efbe1412e08f386fa157c27bf3f5 (patch)
treeed67b904d87bae432214765649c26d95ea12c4ac /sys
parent608b11c8f489083257d41a24689012480d567b1a (diff)
Make this compile with new toolchain.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sun3/include/intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sun3/include/intr.h b/sys/arch/sun3/include/intr.h
index 03c1156b822..8d78a5ae533 100644
--- a/sys/arch/sun3/include/intr.h
+++ b/sys/arch/sun3/include/intr.h
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.1 2001/05/28 21:06:19 chs Exp $ */
+/* $NetBSD: intr.h,v 1.2 2001/12/16 20:58:25 gmcgarry Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@ _getsr(void)
{
int rv;
- __asm __volatile ("clrl %0; movew %%sr,%0" : "&=d" (rv));
+ __asm __volatile ("clrl %0; movew %%sr,%0" : "=&d" (rv));
return (rv);
}