Search notes:

arch/x86/kernel/cpu/common.c

syscall_init()

Among others, syscall_init() sets the handler for sys calls:
wrmsrl(MSR_LSTAR, (unsigned long) entry_SYSCALL_64);

Index