make rule for user header file install
[lunaix-os.git] / lunaix-os / arch / x86 / syscall_lut.S
index 4bee0b414e44756296b15f68da6274feb545a271..d3c9b863a68ca9215041f5d8b0aa7e066a6d4844 100644 (file)
@@ -2,18 +2,18 @@
 #include <lunaix/syscall.h>
 
 #ifdef CONFIG_ARCH_X86_64
-#   define SYSCALL     .8byte
+#   define SYSCALL(x)     .8byte x
 #   define SIZE    8
 #else
+#   define SYSCALL(x)     .4byte x
 #   define SIZE    4
-#   define SYSCALL     .4byte
 #endif
 
 .section .data
     .global __syscall_table
     __syscall_table:
         1:
-        #include "syscall_nr.inc"
+        #include <asm/syscall_nr.inc>
         2:
         .rept __SYSCALL_MAX - (2b - 1b) / SIZE
             .long 0