linux/arch/um/include/asm
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
..
fpu um: enable the use of optimized xor routines in UML 2021-06-17 22:01:26 +02:00
archrandom.h um: seed rng using host OS rng 2022-08-17 14:22:55 +02:00
asm-prototypes.h um: Restore symbol versions for __memcpy and memcpy 2018-02-19 19:38:51 +01:00
cache.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cacheflush.h um: implement flush_cache_vmap/flush_cache_vunmap 2021-06-17 22:04:40 +02:00
common.lds.S Revert "um: Enable CONFIG_CONSTRUCTORS" 2020-01-19 22:42:06 +01:00
cpufeature.h um: Add support for host CPU flags and alignment 2021-06-17 22:01:26 +02:00
delay.h um: fix ndelay/udelay defines 2022-01-27 11:03:44 +01:00
dma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fixmap.h highmem: Get rid of kmap_types.h 2020-11-06 23:14:58 +01:00
futex.h um: add a UML specific futex implementation 2021-06-17 22:01:45 +02:00
hardirq.h um/irqstat: Get rid of the duplicated declarations 2020-11-23 10:31:05 +01:00
io.h um: add PCI over virtio emulation driver 2021-06-17 21:45:43 +02:00
irq.h um: line: Use separate IRQs per line 2022-06-14 18:36:23 +02:00
irqflags.h um: rename set_signals() to um_set_signals() 2022-01-27 11:03:44 +01:00
Kbuild um: Use asm-generic/dma-mapping.h 2022-06-09 10:23:26 +02:00
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
mmu.h um: Fix the -Wmissing-prototypes warning for __switch_mm 2024-06-16 13:39:44 +02:00
mmu_context.h um: remove process stub VMA 2021-02-12 21:37:38 +01:00
msi.h um: add PCI over virtio emulation driver 2021-06-17 21:45:43 +02:00
page.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
pci.h um: add PCI over virtio emulation driver 2021-06-17 21:45:43 +02:00
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable-2level.h mm: define default value for FIRST_USER_ADDRESS 2021-07-01 11:06:02 -07:00
pgtable-3level.h mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t * 2021-07-08 11:48:22 -07:00
pgtable.h um: pgtable.h: Fix W=1 warning for empty body in 'do' statement 2021-04-15 23:10:46 +02:00
processor-generic.h um: Add support for host CPU flags and alignment 2021-06-17 22:01:26 +02:00
ptrace-generic.h um: Implement copy_thread_tls 2020-01-07 13:31:29 +01:00
sections.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
stacktrace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall-generic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sysrq.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
thread_info.h ptrace/um: Replace PT_DTRACE with TIF_SINGLESTEP 2022-06-09 10:22:29 +02:00
timex.h um: use fallback for random_get_entropy() instead of zero 2022-05-30 09:29:14 +02:00
tlb.h um: implement flush_cache_vmap/flush_cache_vunmap 2021-06-17 22:04:40 +02:00
tlbflush.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
uaccess.h asm-generic: remove extra strn{cpy_from,len}_user declarations 2021-07-27 23:01:13 +02:00
unwind.h x86/unwind: Add the ORC unwinder 2017-07-26 13:18:20 +02:00
vmalloc.h mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00
vmlinux.lds.h Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
xor.h um: Remove straying parenthesis 2022-08-17 14:22:55 +02:00