OpenCloudOS-Kernel/arch/um/include
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: 5b301409e8 ("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
..
asm um: Fix the declaration of kasan_map_memory 2024-06-12 11:12:42 +02:00
linux um: virtio/pci: enable suspend/resume 2021-06-17 21:45:44 +02:00
shared um: Fix the declaration of kasan_map_memory 2024-06-12 11:12:42 +02:00
uapi/asm um: Fix W=1 missing-include-dirs warnings 2021-04-15 23:10:57 +02:00