* [PATCH] FRV: Connect up fallocate
@ 2007-08-01 9:17 David Howells
0 siblings, 0 replies; only message in thread
From: David Howells @ 2007-08-01 9:17 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel, dhowells
From: David Howells <dhowells@redhat.com>
Connect up the fallocate() system call.
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/frv/kernel/entry.S | 1 +
include/asm-frv/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S
index 275673c..1e74f3c 100644
--- a/arch/frv/kernel/entry.S
+++ b/arch/frv/kernel/entry.S
@@ -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)
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h
index 7306c71..cd84f17 100644
--- a/include/asm-frv/unistd.h
+++ b/include/asm-frv/unistd.h
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-01 9:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-01 9:17 [PATCH] FRV: Connect up fallocate David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®