Skip to contentSkip to conversation

FRV: Connect up fallocate

PATCH New David Howells 1 participant 1 message Aug 1, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FRV: Connect up fallocate

From: David Howells <[email protected]>

Connect up the fallocate() system call.

---

 arch/frv/kernel/entry.S  |    1 +
 include/asm-frv/unistd.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
arch/frv/kernel/entry.S +1 -0
index 275673c..1e74f3c 100644
@@ -1496,6 +1496,7 @@ sys_call_table:
 	.long sys_signalfd
 	.long sys_timerfd
 	.long sys_eventfd
+	.long sys_fallocate
 
 
 syscall_table_size = (. - sys_call_table)
include/asm-frv/unistd.h +2 -1
index 7306c71..cd84f17 100644
@@ -330,10 +330,11 @@
 #define __NR_signalfd		321
 #define __NR_timerfd		322
 #define __NR_eventfd		323
+#define __NR_fallocate		324
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 324
+#define NR_syscalls 325
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 /* #define __ARCH_WANT_OLD_READDIR */