x86: fix percpu_write with 64-bit constants
authorBrian Gerst <brgerst@gmail.com>
Wed, 21 Jan 2009 08:26:05 +0000 (17:26 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 21 Jan 2009 08:26:05 +0000 (17:26 +0900)
commit299e26992a737804e13e74fdb97cdab470ed19ac
tree65796f4ef75b1915509225bf9a1c2f3cde48ba0a
parent06deef892c7327992434917fb6592c233430803d
x86: fix percpu_write with 64-bit constants

Impact: slightly better code generation for percpu_to_op()

The processor will sign-extend 32-bit immediate values in 64-bit
operations.  Use the 'e' constraint ("32-bit signed integer constant,
or a symbolic reference known to fit that range") for 64-bit constants.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/percpu.h