trinity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ildar Muslukhov <ildarm@google.com>
To: trinity@vger.kernel.org
Cc: davej@redhat.com
Subject: [PATCH] Fixes incorrect syscall indices for shmat and shmctl in X86_64 arch.
Date: Tue, 3 Dec 2013 16:44:46 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1312031641330.30422@ildarm-linux.kir.corp.google.com> (raw)


This patch fixes incorrect indices for shmat (should be #30) and shmctl 
(should be #31).

Signed-off-by: Ildar Muslukhov <ildarm@google.com>

---
 include/syscalls-x86_64.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/syscalls-x86_64.h b/include/syscalls-x86_64.h
index 9ceb65c..23c2166 100644
--- a/include/syscalls-x86_64.h
+++ b/include/syscalls-x86_64.h
@@ -38,8 +38,8 @@ struct syscalltable syscalls_x86_64[] = {
 	{ .entry = &syscall_mincore },
 	{ .entry = &syscall_madvise },
 	{ .entry = &syscall_shmget },
-	{ .entry = &syscall_shmctl },
 	{ .entry = &syscall_shmat },
+	{ .entry = &syscall_shmctl },
 	{ .entry = &syscall_dup },
 	{ .entry = &syscall_dup2 },
 	{ .entry = &syscall_pause },
-- 
1.8.4.1

                 reply	other threads:[~2013-12-04  0:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.DEB.2.02.1312031641330.30422@ildarm-linux.kir.corp.google.com \
    --to=ildarm@google.com \
    --cc=davej@redhat.com \
    --cc=trinity@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 read-only IMAP folder(s) and NNTP newsgroup(s).