Explorar o código

sh: Wire up fallocate() syscall.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt %!s(int64=18) %!d(string=hai) anos
pai
achega
0c99adb0a6
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 0
      arch/sh/kernel/syscalls.S
  2. 2 1
      include/asm-sh/unistd.h

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

@@ -358,3 +358,4 @@ ENTRY(sys_call_table)
 	.long sys_signalfd
 	.long sys_timerfd
 	.long sys_eventfd
+	.long sys_fallocate

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

@@ -332,8 +332,9 @@
 #define __NR_signalfd		321
 #define __NR_timerfd		322
 #define __NR_eventfd		323
+#define __NR_fallocate		324
 
-#define NR_syscalls 324
+#define NR_syscalls 325
 
 #ifdef __KERNEL__