浏览代码

m68k: Wire up statx

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Geert Uytterhoeven 8 年之前
父节点
当前提交
e3b1ebd673
共有 3 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      arch/m68k/include/asm/unistd.h
  2. 1 0
      arch/m68k/include/uapi/asm/unistd.h
  3. 1 0
      arch/m68k/kernel/syscalltable.S

+ 1 - 1
arch/m68k/include/asm/unistd.h

@@ -4,7 +4,7 @@
 #include <uapi/asm/unistd.h>
 #include <uapi/asm/unistd.h>
 
 
 
 
-#define NR_syscalls		379
+#define NR_syscalls		380
 
 
 #define __ARCH_WANT_OLD_READDIR
 #define __ARCH_WANT_OLD_READDIR
 #define __ARCH_WANT_OLD_STAT
 #define __ARCH_WANT_OLD_STAT

+ 1 - 0
arch/m68k/include/uapi/asm/unistd.h

@@ -384,5 +384,6 @@
 #define __NR_copy_file_range	376
 #define __NR_copy_file_range	376
 #define __NR_preadv2		377
 #define __NR_preadv2		377
 #define __NR_pwritev2		378
 #define __NR_pwritev2		378
+#define __NR_statx		379
 
 
 #endif /* _UAPI_ASM_M68K_UNISTD_H_ */
 #endif /* _UAPI_ASM_M68K_UNISTD_H_ */

+ 1 - 0
arch/m68k/kernel/syscalltable.S

@@ -399,3 +399,4 @@ ENTRY(sys_call_table)
 	.long sys_copy_file_range
 	.long sys_copy_file_range
 	.long sys_preadv2
 	.long sys_preadv2
 	.long sys_pwritev2
 	.long sys_pwritev2
+	.long sys_statx