[PATCH v2 0/6] um: Minor fixes and cleanups

From: Tiwei Bie
Date: Mon Feb 05 2024 - 06:47:34 EST


A series of minor fixes and cleanups for UML.

Changes since v1:
https://lore.kernel.org/lkml/20240123110347.1274217-1-tiwei.btw@xxxxxxxxxxxx/
- Add "um: Stop tracking host PID in cpu_tasks";
- Add missing headers for i386;

Tiwei Bie (6):
um: Make local functions and variables static
um: Fix the declaration of vfree
um: Remove unused functions
um: Fix the return type of __switch_to
um: Add missing headers
um: Stop tracking host PID in cpu_tasks

arch/um/drivers/pcap_kern.c | 4 +--
arch/um/drivers/ubd_user.c | 2 +-
arch/um/include/shared/as-layout.h | 1 -
arch/um/include/shared/um_malloc.h | 2 +-
arch/um/kernel/kmsg_dump.c | 2 +-
arch/um/kernel/mem.c | 2 ++
arch/um/kernel/process.c | 46 ++++++------------------
arch/um/kernel/reboot.c | 1 +
arch/um/kernel/skas/mmu.c | 1 +
arch/um/kernel/skas/process.c | 5 +--
arch/um/kernel/time.c | 6 ++--
arch/um/kernel/tlb.c | 7 +---
arch/um/os-Linux/drivers/ethertap_kern.c | 2 +-
arch/um/os-Linux/drivers/tuntap_kern.c | 2 +-
arch/um/os-Linux/signal.c | 4 +--
arch/x86/um/bugs_32.c | 1 +
arch/x86/um/bugs_64.c | 1 +
arch/x86/um/elfcore.c | 1 +
arch/x86/um/fault.c | 1 +
arch/x86/um/os-Linux/mcontext.c | 1 +
arch/x86/um/os-Linux/registers.c | 2 +-
arch/x86/um/os-Linux/tls.c | 1 +
22 files changed, 35 insertions(+), 60 deletions(-)

--
2.34.1