瀏覽代碼

sh64: Wire up fallocate() syscall.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 18 年之前
父節點
當前提交
a13c16e847
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 0
      arch/sh64/kernel/syscalls.S
  2. 2 1
      include/asm-sh64/unistd.h

+ 1 - 0
arch/sh64/kernel/syscalls.S

@@ -378,3 +378,4 @@ sys_call_table:
 	.long sys_signalfd
 	.long sys_timerfd		/* 350 */
 	.long sys_eventfd
+	.long sys_fallocate

+ 2 - 1
include/asm-sh64/unistd.h

@@ -374,10 +374,11 @@
 #define __NR_signalfd		349
 #define __NR_timerfd		350
 #define __NR_eventfd		351
+#define __NR_fallocate		352
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 352
+#define NR_syscalls 353
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR