x86: fix pda_to_op()
authorTejun Heo <tj@kernel.org>
Tue, 13 Jan 2009 11:41:34 +0000 (20:41 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Jan 2009 13:18:11 +0000 (14:18 +0100)
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>
arch/x86/include/asm/pda.h

index 2fbfff8..cbd3f48 100644 (file)
@@ -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:                                                        \