x86: user put_user_x instead of all variants.
authorGlauber Costa <gcosta@redhat.com>
Tue, 24 Jun 2008 18:02:31 +0000 (15:02 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:07 +0000 (09:14 +0200)
commit70706e432ee5618abf59381101d8dea7b8d97a7d
tree069dac4d26d55546aff420a2ef61af67a853f895
parent268cf048c890d10bd3a86bd87922ed8a722d502f
x86: user put_user_x instead of all variants.

Follow the pattern, and define a single put_user_x, instead
of defining macros for all available sizes. Exception is
put_user_8, since the "A" constraint does not give us enough
power to specify which register (a or d) to use in the 32-bit
common case.

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