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 2fbfff88df37b5dec026772c61ac2b11fa61e1be..cbd3f48a8320c4111652f1cc8836445173297dd3 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:                                                        \