]> git.baikalelectronics.ru Git - kernel.git/commit
x86: adapt x86_64 getuser functions.
authorGlauber Costa <gcosta@redhat.com>
Tue, 24 Jun 2008 14:13:16 +0000 (11:13 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:01 +0000 (09:14 +0200)
commit0ac36ab4554b7fac5e8c312361869c5726aac45e
tree81b17b8f280817da70b4225409c65aaf1c824db9
parent55a22af755027798f2ed13c81da2decca5279a8d
x86: adapt x86_64 getuser functions.

Instead of doing a sub after the addition, use the
offset directly at the memory operand of the mov instructions.
This is the way i386 do.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/getuser_64.S