OpenCloudOS-Kernel/arch/x86/um
Tiwei Bie a5cd856087 um: Fix the -Wmissing-prototypes warning for get_thread_reg
[ Upstream commit 3144013e48f4f6e5127223c4ebc488016815dedb ]

The get_thread_reg function is defined in the user code, and is
called by the kernel code. It should be declared in a shared header.

Fixes: dbba7f704a ("um: stop polluting the namespace with registers.h contents")
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>
2024-06-12 11:12:42 +02:00
..
asm um: Remove unsued extern declaration ldt_host_info() 2023-08-26 22:36:14 +02:00
os-Linux kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00
shared/sysdep um: Fix the -Wmissing-prototypes warning for get_thread_reg 2024-06-12 11:12:42 +02:00
vdso um: Support LTO 2023-02-13 10:14:31 +01:00
Kconfig x86/um: Kconfig: Fix indentation 2022-07-17 23:13:24 +02:00
Makefile um: Hard-code the result of 'uname -s' 2023-08-26 22:40:37 +02:00
bugs_32.c
bugs_64.c
delay.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
elfcore.c elfcore: Add a cprm parameter to elf_core_extra_{phdrs,data_size} 2023-01-05 15:12:12 +00:00
fault.c
ldt.c um: Fix out-of-bounds read in LDT setup 2022-05-27 09:03:41 +02:00
mem_32.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
mem_64.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ptrace_32.c um: stop polluting the namespace with registers.h contents 2021-12-21 21:31:35 +01:00
ptrace_64.c um: stop polluting the namespace with registers.h contents 2021-12-21 21:31:35 +01:00
ptrace_user.c
setjmp_32.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
setjmp_64.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
signal.c um: stop polluting the namespace with registers.h contents 2021-12-21 21:31:35 +01:00
stub_32.S um: rework userspace stubs to not hard-code stub location 2021-02-12 21:35:02 +01:00
stub_64.S um: rework userspace stubs to not hard-code stub location 2021-02-12 21:35:02 +01:00
stub_segv.c um: make stub data pages size tweakable 2023-04-20 23:08:43 +02:00
sys_call_table_32.c uml: trim unused junk from arch/x86/um/sys_call_table_*.c 2021-12-21 21:30:44 +01:00
sys_call_table_64.c um: move amd64 variant of mmap(2) to arch/x86/um/syscalls_64.c 2021-12-21 21:30:44 +01:00
syscalls_32.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscalls_64.c um: Remove duplicated include in syscalls_64.c 2022-03-11 10:41:08 +01:00
sysrq_32.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
sysrq_64.c um: x86: print RIP with symbol 2022-07-17 23:15:21 +02:00
tls_32.c um: Cleanup compiler warning in arch/x86/um/tls_32.c 2022-09-19 21:59:47 +02:00
tls_64.c um: Implement copy_thread_tls 2020-01-07 13:31:29 +01:00
user-offsets.c um: Allow builds with Clang 2022-03-21 08:13:03 -07:00