diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-04-23 20:58:55 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-04-30 14:15:42 +0200 |
commit | 6a85e34c4d07d2ec0c153067baff338ac0db55ca (patch) | |
tree | dba37ce9e4b069f2cfb27ffea3cc59d7b4dee2e6 /arch/um/include/asm | |
parent | 3144013e48f4f6e5127223c4ebc488016815dedb (diff) |
um: Fix the declaration of kasan_map_memory
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>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r-- | arch/um/include/asm/kasan.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/asm/kasan.h b/arch/um/include/asm/kasan.h index 0d6547f4ec85..f97bb1f7b851 100644 --- a/arch/um/include/asm/kasan.h +++ b/arch/um/include/asm/kasan.h @@ -24,7 +24,6 @@ #ifdef CONFIG_KASAN void kasan_init(void); -void kasan_map_memory(void *start, unsigned long len); extern int kasan_um_is_ready; #ifdef CONFIG_STATIC_LINK |