diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-04-23 20:58:53 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-12 11:39:32 +0200 |
commit | 13b659211f730bb8fbc99225066a8392e3f4219b (patch) | |
tree | 3592cb13a9e3807ed8faf4fa8d979c6f16d5e69e /arch/um/include/asm/processor-generic.h | |
parent | 5bfa4e8fc85a000b3fa4eb08c1618a042c938c68 (diff) |
um: Fix the -Wmissing-prototypes warning for __switch_mm
[ Upstream commit 2cbade17b18c0f0fd9963f26c9fc9b057eb1cb3a ]
The __switch_mm function is defined in the user code, and is called
by the kernel code. It should be declared in a shared header.
Fixes: 4dc706c2f292 ("um: take um_mmu.h to asm/mmu.h, clean asm/mmu_context.h a bit")
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>
Diffstat (limited to 'arch/um/include/asm/processor-generic.h')
0 files changed, 0 insertions, 0 deletions