Skip to content

Commit

Permalink
x86: fix pda_to_op()
Browse files Browse the repository at this point in the history
There's no instruction to move a 64bit immediate into memory location.
Drop "i".

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Tejun Heo authored and Ingo Molnar committed Jan 16, 2009
1 parent 7f268f4 commit 7de6883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/pda.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ do { \
case 8: \
asm(op "q %1,%%gs:%c2": \
"+m" (_proxy_pda.field) : \
"ri" ((T__)val), \
"r" ((T__)val), \
"i"(pda_offset(field))); \
break; \
default: \
Expand Down

0 comments on commit 7de6883

Please sign in to comment.