changeset 4405:7eda15bbb3f9

fixing assembly bug. By Thierry Vignaud <tvignaud@mandrakesoft.com>
author nick
date Tue, 29 Jan 2002 09:57:21 +0000
parents a35358bf3691
children d8e5237af111
files linux/vbelib.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/linux/vbelib.c	Tue Jan 29 08:32:35 2002 +0000
+++ b/linux/vbelib.c	Tue Jan 29 09:57:21 2002 +0000
@@ -30,9 +30,9 @@
 	"xorl	%0, %0\n\t"
 	"verr	%1\n\t"
 	"setnz	%b0"
-	:"=r"(retval)
+	:"=q"(retval)
 	:"m"(*(unsigned char *)p)
-	:"memory");
+	:"memory","cc");
   return retval;
 }
 
@@ -44,9 +44,9 @@
 	"xorl	%0, %0\n\t"
 	"verw	%1\n\t"
 	"setnz	%b0"
-	:"=r"(retval)
+	:"=q"(retval)
 	:"m"(*(unsigned char *)p)
-	:"memory");
+	:"memory","cc");
   return retval;
 }
 #endif