]> 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, 15 Sep 2011 06:21:30 +0000 (16:21 +1000)
commit6d08b85a975b7643d957bf04a9023c8fa010bfb8
treef715be5ca2c9495a564b94f9c864bcfaf500b8cb
parent991ca9e1e0d94ca9126eb74ef03e1e3284e2e19a
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