[PATCH] Generic: Move __user cast into probe_kernel_address
authorAndi Kleen <ak@suse.de>
Thu, 7 Dec 2006 01:14:05 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:05 +0000 (02:14 +0100)
commit2fff0a48416af891dce38fd425246e337831e0bb
treef38a3e194135043f9d0b142483350b21be351932
parent5df0287ecc4f53e68bbd188fa8258b555e6b734f
[PATCH] Generic: Move __user cast into probe_kernel_address

Caller of probe_kernel_address shouldn't need to know that
pka is internally implemented with __get_user. So move the
__user cast into pka.

Signed-off-by: Andi Kleen <ak@suse.de>
include/linux/uaccess.h