From bdfdbd823370efbe1412e08f386fa157c27bf3f5 Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Sun, 16 Dec 2001 20:58:25 +0000 Subject: [PATCH] Make this compile with new toolchain. --- sys/arch/sun3/include/intr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sun3/include/intr.h b/sys/arch/sun3/include/intr.h index 03c1156b8227..8d78a5ae5337 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); }