]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Strict user copy checks are only really supported on x86_32 even though
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Aug 2011 23:47:26 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 Sep 2011 08:26:27 +0000 (18:26 +1000)
commit1de8e58f6012285516444d475c53ec97f7fb9b66
treec4ce9ea6ade0aa63bc816954d4476cbf52c9b70d
parent68f0eeacd11b1998e92d14369d6ec5dde6b64f32
Strict user copy checks are only really supported on x86_32 even though
the config option is selectable on x86_64.  Add the necessary support to
the 64 bit code to trigger copy_from_user() warnings at compile time.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/include/asm/uaccess_64.h
arch/x86/lib/usercopy_64.c