--- /dev/null
+#define __ASM__
+#include <lunaix/syscall.h>
+
+#ifdef CONFIG_ARCH_X86_64
+# define SYSCALL .8byte
+# define SIZE 8
+#else
+# define SIZE 4
+# define SYSCALL .4byte
+#endif
+
+.section .data
+ .global __syscall_table
+ __syscall_table:
+ 1:
+ #include "syscall_nr.inc"
+ 2:
+ .rept __SYSCALL_MAX - (2b - 1b) / SIZE
+ .long 0
+ .endr
\ No newline at end of file