Tiwei Bie 8a328396a5 um: Fix the declaration of kasan_map_memory
[ Upstream commit 6a85e34c4d07d2ec0c153067baff338ac0db55ca ]

Make it match its definition (size_t vs unsigned long). And declare
it in a shared header to fix the -Wmissing-prototypes warning, as it
is defined in the user code and called in the kernel code.

Fixes: 5b301409e8bc ("UML: add support for KASAN under x86_64")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:12:42 +02:00
..
2023-06-20 13:35:37 -07:00
2023-04-08 13:45:37 -07:00
2022-03-21 08:13:03 -07:00
2022-03-11 10:46:34 +01:00
2023-02-01 22:11:24 +01:00
2023-07-27 08:51:06 -07:00
2024-02-05 20:14:31 +00:00