Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222059
b: refs/heads/master
c: 6b4e81d
h: refs/heads/master
i:
  222057: 48972db
  222055: bc9425f
v: v3
  • Loading branch information
Jim Bos authored and Linus Torvalds committed Nov 13, 2010
1 parent 3dbd87c commit dd5509e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed3aada1bf34c5a9e98af167f125f8a740fc726a
refs/heads/master: 6b4e81db2552bad04100e7d5ddeed7e848f53b48
5 changes: 3 additions & 2 deletions trunk/drivers/char/i8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static int i8k_smm(struct smm_regs *regs)
"lahf\n\t"
"shrl $8,%%eax\n\t"
"andl $1,%%eax\n"
:"=a"(rc)
:"=a"(rc), "+m" (*regs)
: "a"(regs)
: "%ebx", "%ecx", "%edx", "%esi", "%edi", "memory");
#else
Expand All @@ -167,7 +167,8 @@ static int i8k_smm(struct smm_regs *regs)
"movl %%edx,0(%%eax)\n\t"
"lahf\n\t"
"shrl $8,%%eax\n\t"
"andl $1,%%eax\n":"=a"(rc)
"andl $1,%%eax\n"
:"=a"(rc), "+m" (*regs)
: "a"(regs)
: "%ebx", "%ecx", "%edx", "%esi", "%edi", "memory");
#endif
Expand Down

0 comments on commit dd5509e

Please sign in to comment.