]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] probe_kernel_address() needs to do set_fs()
authorAndrew Morton <akpm@osdl.org>
Thu, 7 Dec 2006 04:36:40 +0000 (20:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:34 +0000 (08:39 -0800)
commit20aa7b21b1cbd1aa3fbf5fc14da5f7484a61a824
treeae0e9ec484c26f29f8f5cfa863a84943c27dfe9d
parentc140e110019f25ffa1c6f3f365b0c9103d0b8475
[PATCH] probe_kernel_address() needs to do set_fs()

probe_kernel_address() purports to be generic, only it forgot to select
KERNEL_DS, so it presently won't work right on all architectures.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/uaccess.h