From: Henrik Austad <haustad@cisco.com>
To: linux-rt-users@vger.kernel.org
Cc: John Kacur <jkacur@redhat.com>, Henrik Austad <haustad@cisco.com>
Subject: [PATCH v2 4/4] rt-sched.h: do not unconditionally define syscall-numbers
Date: Wed, 21 Oct 2015 21:00:11 +0200 [thread overview]
Message-ID: <1445454011-18839-5-git-send-email-haustad@cisco.com> (raw)
In-Reply-To: <1445454011-18839-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
next prev parent reply other threads:[~2015-10-21 19:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 19:00 [PATCH v2 0/4] Android: clean-up patches Henrik Austad
2015-10-21 19:00 ` [PATCH v2 1/4] Android: clean up the bypass ifdeffery Henrik Austad
2015-10-22 8:30 ` John Kacur
2015-10-21 19:00 ` [PATCH v2 2/4] Android: rename arch from bionic to android Henrik Austad
2015-10-22 8:36 ` John Kacur
2015-10-21 19:00 ` [PATCH v2 3/4] Android: Expand match for android in ostype Henrik Austad
2015-10-22 8:43 ` John Kacur
2015-10-21 19:00 ` Henrik Austad [this message]
2015-10-22 9:43 ` [PATCH v2 4/4] rt-sched.h: do not unconditionally define syscall-numbers John Kacur
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=1445454011-18839-5-git-send-email-haustad@cisco.com \
--to=haustad@cisco.com \
--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).