diff options
-rw-r--r-- | drivers/char/i8k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c index d72433f2d310..ee017166545e 100644 --- a/drivers/char/i8k.c +++ b/drivers/char/i8k.c | |||
@@ -139,8 +139,8 @@ static int i8k_smm(struct smm_regs *regs) | |||
139 | "movl %%edi,20(%%rax)\n\t" | 139 | "movl %%edi,20(%%rax)\n\t" |
140 | "popq %%rdx\n\t" | 140 | "popq %%rdx\n\t" |
141 | "movl %%edx,0(%%rax)\n\t" | 141 | "movl %%edx,0(%%rax)\n\t" |
142 | "lahf\n\t" | 142 | "pushfq\n\t" |
143 | "shrl $8,%%eax\n\t" | 143 | "popq %%rax\n\t" |
144 | "andl $1,%%eax\n" | 144 | "andl $1,%%eax\n" |
145 | :"=a"(rc) | 145 | :"=a"(rc) |
146 | : "a"(regs) | 146 | : "a"(regs) |