# HG changeset patch # User nick # Date 1012298241 0 # Node ID 7eda15bbb3f93aeb91c1e35c4ae072edba2ad81d # Parent a35358bf36910d24ffd61d33edf6661beecafcaa fixing assembly bug. By Thierry Vignaud diff -r a35358bf3691 -r 7eda15bbb3f9 linux/vbelib.c --- 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