]> 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>
Tue, 26 Jul 2011 10:14:57 +0000 (20:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Aug 2011 05:14:28 +0000 (15:14 +1000)
commit104941887ddd218f606c6940c1f3ee76156fea90
tree6a35509d9c5875e49d50b90de2df48dfa2cf31d7
parent8148019f6be0484b7dfb9f6534c9fecf517528bd
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