]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: don't clobber r8 nor use rcx.
authorGlauber Costa <gcosta@redhat.com>
Fri, 13 Jun 2008 19:35:52 +0000 (16:35 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:13:59 +0000 (09:13 +0200)
commitedf10162b2c5ad78ada8e63e960f9d0949c6c219
treec860cce966d760d230fe56de713093b7eec25df4
parentf8dd0d3c62164160c59034a96eb17d69ac8a0328
x86: don't clobber r8 nor use rcx.

There's really no reason to clobber r8 or pass the address in rcx.
We can safely use only two registers (which we already have to touch anyway)
to do the job.

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
include/asm-x86/uaccess_64.h