x86-64: Use absolute displacements for per-cpu accesses.
authorBrian Gerst <brgerst@gmail.com>
Sun, 18 Jan 2009 15:38:59 +0000 (00:38 +0900)
committerTejun Heo <tj@kernel.org>
Sun, 18 Jan 2009 15:38:59 +0000 (00:38 +0900)
Accessing memory through %gs should not use rip-relative addressing.
Adding a P prefix for the argument tells gcc to not add (%rip) to
the memory references.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found