mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: linux-kernel@vger.kernel.org
Cc: uclinux-dist-devel@blackfin.uclinux.org
Subject: [PATCH 2/7] Blackfin: hook up preadv/pwritev syscalls
Date: Tue, 26 May 2009 05:15:51 -0400	[thread overview]
Message-ID: <1243329356-12644-3-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <1243329356-12644-1-git-send-email-vapier@gentoo.org>

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 arch/blackfin/include/asm/unistd.h |    4 +++-
 arch/blackfin/mach-common/entry.S  |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h
index 1e57b63..cf5066d 100644
--- a/arch/blackfin/include/asm/unistd.h
+++ b/arch/blackfin/include/asm/unistd.h
@@ -378,8 +378,10 @@
 #define __NR_dup3		363
 #define __NR_pipe2		364
 #define __NR_inotify_init1	365
+#define __NR_preadv		366
+#define __NR_pwritev		367
 
-#define __NR_syscall		366
+#define __NR_syscall		368
 #define NR_syscalls		__NR_syscall
 
 /* Old optional stuff no one actually uses */
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 21e65a3..a063a43 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1581,6 +1581,8 @@ ENTRY(_sys_call_table)
 	.long _sys_dup3
 	.long _sys_pipe2
 	.long _sys_inotify_init1	/* 365 */
+	.long _sys_preadv
+	.long _sys_pwritev
 
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.long _sys_ni_syscall
-- 
1.6.3.1


  parent reply	other threads:[~2009-05-26  9:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
2009-05-26  9:15 ` [PATCH 1/7] bfin_mac: fix build error due to net_device_ops convert Mike Frysinger
2009-05-26  9:15 ` Mike Frysinger [this message]
2009-05-26  9:15 ` [PATCH 3/7] MAINTAINERS: update Blackfin items Mike Frysinger
2009-05-26  9:15 ` [PATCH 4/7] MAINTAINERS: drop (subscribers-only) markings on Blackfin lists Mike Frysinger
2009-05-26  9:15 ` [PATCH 5/7] Blackfin: ignore generated vmlinux.lds Mike Frysinger
2009-05-26  9:15 ` [PATCH 6/7] Blackfin: drop unneeded asm/.gitignore Mike Frysinger
2009-05-26  9:15 ` [PATCH 7/7] Blackfin: fix strncmp.o build error Mike Frysinger
2009-05-26  9:26 ` [PATCH 0/7] Blackfin fixes for 2.6.30 David Miller
2009-05-26  9:28   ` David Miller
2009-05-26  9:30     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243329356-12644-3-git-send-email-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uclinux-dist-devel@blackfin.uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®