[PATCH] Wire up preadv and pwritev on Alpha.
From: Michael Cree
Date: Mon Oct 19 2009 - 05:12:04 EST
---
arch/alpha/include/asm/unistd.h | 4 +++-
arch/alpha/kernel/systbls.S | 2 ++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h
index 5b5c174..bba503a 100644
--- a/arch/alpha/include/asm/unistd.h
+++ b/arch/alpha/include/asm/unistd.h
@@ -433,10 +433,12 @@
#define __NR_signalfd 476
#define __NR_timerfd 477
#define __NR_eventfd 478
+#define __NR_preadv 479
+#define __NR_pwritev 480
#ifdef __KERNEL__
-#define NR_SYSCALLS 479
+#define NR_SYSCALLS 481
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S
index 95c9aef..8182792 100644
--- a/arch/alpha/kernel/systbls.S
+++ b/arch/alpha/kernel/systbls.S
@@ -497,6 +497,8 @@ sys_call_table:
.quad sys_signalfd
.quad sys_ni_syscall
.quad sys_eventfd
+ .quad sys_preadv
+ .quad sys_pwritev /* 480 */
.size sys_call_table, . - sys_call_table
.type sys_call_table, @object
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html