summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@tuxicoman.be>2007-02-21 15:32:57 +0000
committerKyle McMartin <kyle@hera.kernel.org>2007-02-21 15:33:59 +0000
commit2ed0e2435939c8199abd3578a3a4991c5a7d5ca8 (patch)
tree493dfe0a71218d5c11fe7d979289c32d468df9bc
parent04532c4f55ef4b577c59744f789d5b1add435503 (diff)
downloadkernel-common-2ed0e2435939c8199abd3578a3a4991c5a7d5ca8.tar.gz
kernel-common-2ed0e2435939c8199abd3578a3a4991c5a7d5ca8.tar.bz2
kernel-common-2ed0e2435939c8199abd3578a3a4991c5a7d5ca8.zip
[PARISC] Add missing statfs64 and fstatfs64 syscalls
Signed-off-by: Guy Martin <gmsoft@tuxicoman.be>
-rw-r--r--arch/parisc/kernel/syscall_table.S2
-rw-r--r--include/asm-parisc/unistd.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 9c2d5d8f116b..7d665de6bd04 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -403,5 +403,7 @@
ENTRY_COMP(move_pages) /* 295 */
ENTRY_SAME(getcpu)
ENTRY_SAME(epoll_pwait)
+ ENTRY_COMP(statfs64)
+ ENTRY_COMP(fstatfs64)
/* Nothing yet */
diff --git a/include/asm-parisc/unistd.h b/include/asm-parisc/unistd.h
index 7c1bb8b0a96b..5513bdf11463 100644
--- a/include/asm-parisc/unistd.h
+++ b/include/asm-parisc/unistd.h
@@ -790,8 +790,10 @@
#define __NR_move_pages (__NR_Linux + 295)
#define __NR_getcpu (__NR_Linux + 296)
#define __NR_epoll_pwait (__NR_Linux + 297)
+#define __NR_statfs64 (__NR_Linux + 298)
+#define __NR_fstatfs64 (__NR_Linux + 299)
-#define __NR_Linux_syscalls 298
+#define __NR_Linux_syscalls 300
#define HPUX_GATEWAY_ADDR 0xC0000004
#define LINUX_GATEWAY_ADDR 0x100