summaryrefslogtreecommitdiffstats
path: root/linux/vbelib.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/vbelib.c')
-rw-r--r--linux/vbelib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/vbelib.c b/linux/vbelib.c
index eda229834b..510ce807a3 100644
--- a/linux/vbelib.c
+++ b/linux/vbelib.c
@@ -30,9 +30,9 @@ static inline int VERR(const void *p)
"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 @@ static inline int VERW(const void *p)
"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