]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit9262875395cf22b5a90dd8a640e1070cedf55d0e
tree81b17b8f280817da70b4225409c65aaf1c824db9
parent9aa038815b5756e20a00b8e1efd5740434b37aea
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