]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h
authorHou Tao <houtao1@huawei.com>
Fri, 2 Feb 2024 10:39:33 +0000 (18:39 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:11 +0000 (18:19 -0400)
commitaa18a46ef809028dc53bb3f98ca9cb657ec5b5dd
treeb8cbc36e7a4069feb2fedde8ed0ba0f78b5807eb
parent9fe96db9ccac8ca9581de9aba6ac97490670b744
x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h

[ Upstream commit ee0e39a63b78849f8abbef268b13e4838569f646 ]

Move is_vsyscall_vaddr() into asm/vsyscall.h to make it available for
copy_from_kernel_nofault_allowed() in arch/x86/mm/maccess.c.

Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20240202103935.3154011-2-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/include/asm/vsyscall.h
arch/x86/mm/fault.c