[PATCH v2 0/7] um: A follow-up series of -Wmissing-prototypes fixes

From: Tiwei Bie
Date: Tue Apr 23 2024 - 08:59:30 EST


This is a follow-up series built on top of below series:
https://lore.kernel.org/linux-um/20240306101925.1088870-1-tiwei.btw@xxxxxxxxxxxx/

Changes since v1:
https://lore.kernel.org/linux-um/20240423112457.2409319-1-tiwei.btw@xxxxxxxxxxxx/
- include "internal.h" explicitly (Johannes);
- drop the "extern" (Johannes);

Tiwei Bie (7):
um: Fix -Wmissing-prototypes warnings for (rt_)sigreturn
um: Fix the -Wmissing-prototypes warning for __switch_mm
um: Fix the -Wmissing-prototypes warning for get_thread_reg
um: Fix the declaration of kasan_map_memory
um: Add an internal header shared among the user code
um: Fix -Wmissing-prototypes warnings for __vdso_*
um: Remove unused do_get_thread_area function

arch/um/include/asm/kasan.h | 1 -
arch/um/include/asm/mmu.h | 2 --
arch/um/include/asm/processor-generic.h | 1 -
arch/um/include/shared/kern_util.h | 2 ++
arch/um/include/shared/skas/mm_id.h | 2 ++
arch/um/os-Linux/elf_aux.c | 1 +
arch/um/os-Linux/internal.h | 20 ++++++++++++++++++++
arch/um/os-Linux/main.c | 3 +--
arch/um/os-Linux/mem.c | 2 ++
arch/um/os-Linux/skas/mem.c | 3 +--
arch/um/os-Linux/skas/process.c | 1 +
arch/um/os-Linux/start_up.c | 3 +--
arch/x86/um/shared/sysdep/archsetjmp.h | 7 +++++++
arch/x86/um/signal.c | 5 +++--
arch/x86/um/tls_32.c | 17 -----------------
arch/x86/um/vdso/um_vdso.c | 10 ++++++++--
16 files changed, 49 insertions(+), 31 deletions(-)
create mode 100644 arch/um/os-Linux/internal.h

--
2.34.1