asm-generic/syscall.h for description of what we must do here). sys_call_ptr_t is a syscall function pointer: typedef long (*sys_call_ptr_t)(const struct pt_regs *);
sys_call_table array extern const sys_call_ptr_t sys_call_table[];
do_syscall_x64(). sys_call_table[] is no long used for system calls but that kernel/trace/trace_syscalls.c still wants to know the system call address.