]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: change testing logic in putuser_64.S.
authorGlauber Costa <gcosta@redhat.com>
Tue, 24 Jun 2008 19:51:59 +0000 (16:51 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:09 +0000 (09:14 +0200)
commit663aa96df32af9c4141ef3179282f95c7537643a
treefd8856815bea7ef8b6525f498cbc6f7dc2ded28e
parent0ada3164031162b4e1b7ff6b36ba8cc80ff7fe96
x86: change testing logic in putuser_64.S.

Instead of operating over a register we need to put back
into normal state afterwards (the memory position), just
sub from rbx, which is trashed anyway. We can save a few instructions.

Also, this is the i386 way.

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/putuser_64.S