linux/arch/um/include/shared
Tiwei Bie 026ea9532a um: Fix the -Wmissing-prototypes warning for __switch_mm
[ Upstream commit 2cbade17b1 ]

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: 4dc706c2f2 ("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>
History 2024-06-16 13:39:44 +02:00
..
skas um: Fix the -Wmissing-prototypes warning for __switch_mm 2024-06-16 13:39:44 +02:00
arch.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
as-layout.h um: remove process stub VMA 2021-02-12 21:37:38 +01:00
common-offsets.h um: rework userspace stubs to not hard-code stub location 2021-02-12 21:35:02 +01:00
elf_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
frame_kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
init.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
irq_kern.h um: time-travel: rework interrupt handling in ext mode 2021-02-12 21:24:27 +01:00
irq_user.h isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
kern_util.h um: Fix naming clash between UML and scheduler 2024-02-23 08:54:49 +01:00
longjmp.h um: rename set_signals() to um_set_signals() 2022-01-27 11:03:44 +01:00
mem.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
mem_user.h um: delete unnecessary bootmem struct page array 2014-10-13 17:15:09 +02:00
net_kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
net_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
os.h um: seed rng using host OS rng 2022-08-17 14:22:55 +02:00
ptrace_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
registers.h um: registers: Rename function names to avoid conflicts and build problems 2022-01-27 11:04:48 +01:00
sigio.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
timetravel.h um: expose time-travel mode to userspace side 2021-06-17 21:44:51 +02:00
um_malloc.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
user.h printk: Userspace format indexing support 2021-07-19 11:57:48 +02:00