Subject: Fix for new toolchain
To: None <port-hp300@netbsd.org>
From: Gregory McGarry <g.mcgarry@ieee.org>
List: port-hp300
Date: 11/07/2001 18:41:19
Does this look right?

Index: maskbits.h
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/hp300/dev/maskbits.h,v
retrieving revision 1.3
diff -u -r1.3 maskbits.h
--- maskbits.h  1997/03/31 07:37:28     1.3
+++ maskbits.h  2001/11/07 05:37:12
@@ -71,7 +71,7 @@
 #define FASTPUTBITS(src, x, w, pdst) \
     asm ("bfins %3,%0{%1:%2}" \
         : "=o" (*(char *)(pdst)) \
-        : "di" (x), "di" (w), "d" (src), "0" (*(char *) (pdst)))
+        : "di" (x), "di" (w), "d" (src))
 
 #define getandputrop(psrc, srcbit, dstbit, width, pdst, rop) \
 { \

	-- Gregory McGarry <g.mcgarry@ieee.org>