]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/i386/mm/fault.c
[PATCH] i386: Use probe_kernel_address instead of __get_user in fault paths
authorAndi Kleen <ak@suse.de>
Thu, 7 Dec 2006 01:14:06 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:06 +0000 (02:14 +0100)
commit11a4180c0b03e2ee0c948fd8430ee092dc1625b3
treec0f5018983f859d84b0832ea793ba0c49d344935
parentab2bf0c1c689905b628dca94d0acd9c50e152468
[PATCH] i386: Use probe_kernel_address instead of __get_user in fault paths

Makes the intention of the code cleaner to read and avoids
a potential deadlock on mmap_sem. Also change the types of
the arguments to not include __user because they're really
not user addresses.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/traps.c
arch/i386/mm/fault.c