x86/entry/64: Add __SYSCALL_COMMON()
Add a __SYSCALL_COMMON() macro to the syscall table, which simplifies syscalltbl.sh. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200313195144.164260-12-brgerst@gmail.com
This commit is contained in:

committed by
Thomas Gleixner

parent
b5592e5c0d
commit
8210efcb15
@@ -9,6 +9,7 @@
|
||||
#include <asm/syscall.h>
|
||||
|
||||
#define __SYSCALL_X32(nr, sym)
|
||||
#define __SYSCALL_COMMON(nr, sym) __SYSCALL_64(nr, sym)
|
||||
|
||||
#define __SYSCALL_64(nr, sym) extern asmlinkage long sym(const struct pt_regs *);
|
||||
#include <asm/syscalls_64.h>
|
||||
|
Reference in New Issue
Block a user