linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonas Bonn <jonas.bonn@gmail.com>
To: linux-arch@vger.kernel.org
Cc: arnd@arndb.de, Jonas Bonn <jonas@southpole.se>
Subject: [PATCH 1/1] Add new syscall sys_sendmmsg to generic unistd
Date: Sat, 28 May 2011 22:19:29 +0200	[thread overview]
Message-ID: <1306613969-9426-1-git-send-email-jonas.bonn@gmail.com> (raw)


From: Jonas Bonn <jonas@southpole.se>

This enables the syscall for architectures, like OpenRISC, that use the
generic asm headers.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
---
 include/asm-generic/unistd.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 6b5bfb5..e4c7366 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -681,9 +681,11 @@ __SC_COMP(__NR_open_by_handle_at, sys_open_by_handle_at, \
 __SC_COMP(__NR_clock_adjtime, sys_clock_adjtime, compat_sys_clock_adjtime)
 #define __NR_syncfs 267
 __SYSCALL(__NR_syncfs, sys_syncfs)
+#define __NR_sendmmsg 268
+__SC_COMP(__NR_sendmmsg, sys_sendmmsg, compat_sys_sendmmsg)
 
 #undef __NR_syscalls
-#define __NR_syscalls 268
+#define __NR_syscalls 269
 
 /*
  * All syscalls below here should go away really,
-- 
1.7.4.1

             reply	other threads:[~2011-05-28 20:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 20:19 Jonas Bonn [this message]
2011-05-28 21:24 ` [PATCH 1/1] Add new syscall sys_sendmmsg to generic unistd Arnd Bergmann
2011-05-28 21:55   ` Jonas Bonn
2011-05-29 18:27     ` Arnd Bergmann
2011-05-29 21:30       ` Jonas Bonn
2011-05-29 21:57         ` Arnd Bergmann
     [not found]         ` <tOr60tkHMHA.716@exchange1.tad.internal.tilera.com>
2011-06-01 20:15           ` Chris Metcalf

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=1306613969-9426-1-git-send-email-jonas.bonn@gmail.com \
    --to=jonas.bonn@gmail.com \
    --cc=arnd@arndb.de \
    --cc=jonas@southpole.se \
    --cc=linux-arch@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).