]> 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>
Mon, 5 Sep 2011 07:02:26 +0000 (17:02 +1000)
commit379b813eda1c7b1f69be44248848ee244c792f14
tree1a4788b0466fc6f5b3e704a19353475fdce6359b
parent3f9ddf6efd65d521a0b5413ddb49d49aebc3abc3
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