linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrik Austad <haustad@cisco.com>
To: linux-rt-users@vger.kernel.org
Cc: Henrik Austad <henrik@austad.us>,
	Henrik Austad <haustad@cisco.com>, John Kacur <jkacur@redhat.com>
Subject: [PATCH 4/4] rt-sched.h: do not unconditionally define syscall-numbers
Date: Wed, 21 Oct 2015 15:49:02 +0200	[thread overview]
Message-ID: <1445435342-16969-5-git-send-email-haustad@cisco.com> (raw)
In-Reply-To: <1445435342-16969-1-git-send-email-haustad@cisco.com>

These could be defined elsewhere, be careful when defining these

Cc: John Kacur <jkacur@redhat.com>
Signed-off-by: Henrik Austad <haustad@cisco.com>
---
 src/include/rt-sched.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/include/rt-sched.h b/src/include/rt-sched.h
index b46b1b16606f..679c4bd10ae2 100644
--- a/src/include/rt-sched.h
+++ b/src/include/rt-sched.h
@@ -43,9 +43,13 @@
 #endif
 
 #ifdef __arm__
+#ifndef __NR_sched_setattr
 #define __NR_sched_setattr		380
+#endif
+#ifndef __NR_sched_getattr
 #define __NR_sched_getattr		381
 #endif
+#endif
 
 #ifdef __tilegx__
 #define __NR_sched_setattr		274
-- 
1.9.1


      parent reply	other threads:[~2015-10-21 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 13:48 [PATCH 0/4] Android/Bionic cleanup patches Henrik Austad
2015-10-21 13:48 ` [PATCH 1/4] Android: clean up the bypass ifdeffery Henrik Austad
2015-10-21 16:39   ` John Kacur
2015-10-21 13:49 ` [PATCH 2/4] android: rename arch from bionic to android Henrik Austad
2015-10-21 13:49 ` [PATCH 3/4] android: Expand match for android in ostype Henrik Austad
2015-10-21 13:49 ` Henrik Austad [this message]

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=1445435342-16969-5-git-send-email-haustad@cisco.com \
    --to=haustad@cisco.com \
    --cc=henrik@austad.us \
    --cc=jkacur@redhat.com \
    --cc=linux-rt-users@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).