Skip to content

Commit 32a1566

Browse files
t-8chjmberg-intel
authored andcommitted
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>
1 parent c36e5eb commit 32a1566

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/x86/um/asm/syscall.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ typedef asmlinkage long (*sys_call_ptr_t)(unsigned long, unsigned long,
99
unsigned long, unsigned long,
1010
unsigned long, unsigned long);
1111

12+
extern const sys_call_ptr_t sys_call_table[];
13+
1214
static inline int syscall_get_arch(struct task_struct *task)
1315
{
1416
#ifdef CONFIG_X86_32

0 commit comments

Comments
 (0)