aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/x86/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/include/x86/cpu.h')
-rw-r--r--com32/include/x86/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/include/x86/cpu.h b/com32/include/x86/cpu.h
index 5537da66..4bbcc802 100644
--- a/com32/include/x86/cpu.h
+++ b/com32/include/x86/cpu.h
@@ -25,7 +25,7 @@ static inline __constfunc bool cpu_has_eflag(unsigned long flag)
"pushf ; "
"pop %1 ; "
"popf"
- : "=r" (f1), "=r" (f2) : "ri" (flag));
+ : "=&r" (f1), "=&r" (f2) : "ri" (flag));
return !!((f1 ^ f2) & flag);
}