x86: introduce __ASM_REG macro.
authorGlauber Costa <gcosta@redhat.com>
Tue, 24 Jun 2008 14:37:57 +0000 (11:37 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:04 +0000 (09:14 +0200)
commit40faf463e62de0b29722910eded7dd26cd8b684b
treeab7a576aec523d750944c53f6c7f340b4a1a3a3a
parentef8c1a2d0e990d0f4f15e1d45eeb262755e3d4c3
x86: introduce __ASM_REG macro.

There are situations in which the architecture wants to use the
register that represents its word-size, whatever it is. For those,
introduce __ASM_REG in asm.h, along with the first users _ASM_AX
and _ASM_DX. They have users waiting for it, namely the getuser
functions.

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_32.S
arch/x86/lib/getuser_64.S
include/asm-x86/asm.h