aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-07-03 14:38:54 +0200
committerJohannes Berg <johannes.berg@intel.com>2025-07-11 08:49:02 +0200
commit32a15664efe9b44b64a7179b47cc7742af5098c2 (patch)
tree1185a36fab00213ab008b7fdf54add545f5b230c
parentum: virt-pci: Switch to msi_create_parent_irq_domain() (diff)
downloadlinux-32a15664efe9b44b64a7179b47cc7742af5098c2.tar.gz
linux-32a15664efe9b44b64a7179b47cc7742af5098c2.zip
um/x86: Add system call table to header file
The generic system call tracing infrastructure requires access to the system call table. The symbol is already visible to the linker but is lacking a public declaration. Add a public declaration. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://patch.msgid.link/20250703-uml-have_syscall_tracepoints-v1-1-23c1d3808578@linutronix.de Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--arch/x86/um/asm/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/um/asm/syscall.h b/arch/x86/um/asm/syscall.h
index 56a2f0913e3c..d6208d0fad51 100644
--- a/arch/x86/um/asm/syscall.h
+++ b/arch/x86/um/asm/syscall.h
@@ -9,6 +9,8 @@ typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
unsigned long, unsigned long,
unsigned long, unsigned long);
+extern const sys_call_ptr_t sys_call_table[];
+
static inline int syscall_get_arch(struct task_struct *task)
{
#ifdef CONFIG_X86_32