diff options
Diffstat (limited to 'arch/i386/boot/cpucheck.c')
-rw-r--r-- | arch/i386/boot/cpucheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/boot/cpucheck.c b/arch/i386/boot/cpucheck.c index 8b0f447..991e8ce 100644 --- a/arch/i386/boot/cpucheck.c +++ b/arch/i386/boot/cpucheck.c @@ -115,8 +115,8 @@ static int has_eflag(u32 mask) "pushfl ; " "popl %1 ; " "popfl" - : "=r" (f0), "=r" (f1) - : "g" (mask)); + : "=&r" (f0), "=&r" (f1) + : "ri" (mask)); return !!((f0^f1) & mask); } |