]> 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>
Mon, 1 Aug 2011 03:36:38 +0000 (13:36 +1000)
commit7927968feb78c7f15d6fdae1654b4e99d07decf4
tree921dc624914db62ff199b79884f50493590c2885
parent2b5477098ce6509165d09dbc885feb869b7e5d45
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