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 8b0f4473b083..991e8ceae1de 100644 --- a/arch/i386/boot/cpucheck.c +++ b/arch/i386/boot/cpucheck.c | |||
@@ -115,8 +115,8 @@ static int has_eflag(u32 mask) | |||
115 | "pushfl ; " | 115 | "pushfl ; " |
116 | "popl %1 ; " | 116 | "popl %1 ; " |
117 | "popfl" | 117 | "popfl" |
118 | : "=r" (f0), "=r" (f1) | 118 | : "=&r" (f0), "=&r" (f1) |
119 | : "g" (mask)); | 119 | : "ri" (mask)); |
120 | 120 | ||
121 | return !!((f0^f1) & mask); | 121 | return !!((f0^f1) & mask); |
122 | } | 122 | } |