x86: don't always use EFAULT on __put_user_size.
commitd42e6af613375be7a9a431628ecd742e87230554
authorGlauber Costa <gcosta@redhat.com>
Wed, 25 Jun 2008 15:00:44 +0000 (25 12:00 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:22 +0000 (9 09:14 +0200)
treed2994222bc235db7241989248e607a84642039d4
parent293e6a2524ae775fef41d21d17af288d4b2ee91e
x86: don't always use EFAULT on __put_user_size.

Let the user of the macro specify the desired return.

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_64.h