From: Henrik Austad <haustad@cisco.com>
To: Clark Williams <williams@redhat.com>, John Kacur <jkacur@redhat.com>
Cc: linux-rt-users@vger.kernel.org, Josh Cartwright <joshc@ni.com>,
Henrik Austad <haustad@cisco.com>
Subject: [PATCH 2/6] Add syscall-number for sched_(gs)etattr() for tile
Date: Mon, 21 Sep 2015 17:27:24 +0200 [thread overview]
Message-ID: <1442849248-573-3-git-send-email-haustad@cisco.com> (raw)
In-Reply-To: <1442849248-573-1-git-send-email-haustad@cisco.com>
Signed-off-by: Henrik Austad <haustad@cisco.com>
---
src/include/rt-sched.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/include/rt-sched.h b/src/include/rt-sched.h
index 6c45f7a..b46b1b1 100644
--- a/src/include/rt-sched.h
+++ b/src/include/rt-sched.h
@@ -47,6 +47,11 @@
#define __NR_sched_getattr 381
#endif
+#ifdef __tilegx__
+#define __NR_sched_setattr 274
+#define __NR_sched_getattr 275
+#endif
+
struct sched_attr {
uint32_t size;
uint32_t sched_policy;
--
1.9.1
next prev parent reply other threads:[~2015-09-21 15:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 15:27 [PATCH 0/6] RFC v2: add support for tilegx and (partial) android support to rt-test Henrik Austad
2015-09-21 15:27 ` [PATCH 1/6] Add CROSS_COMPILE-switch to CC and AR Henrik Austad
2015-09-21 19:41 ` John Kacur
2015-09-21 15:27 ` Henrik Austad [this message]
2015-09-21 19:42 ` [PATCH 2/6] Add syscall-number for sched_(gs)etattr() for tile John Kacur
2015-09-21 15:27 ` [PATCH 3/6] Add a rebuild-switch to Makefile Henrik Austad
2015-09-21 19:43 ` John Kacur
2015-09-21 15:27 ` [PATCH 4/6] Fix compile-warnings Henrik Austad
2015-09-21 19:49 ` John Kacur
2015-09-21 15:27 ` [PATCH 5/6] Makefile: add librttest to rt-migrate-test Henrik Austad
2015-09-21 19:52 ` John Kacur
2015-09-22 10:06 ` Henrik Austad
2015-09-21 15:27 ` [PATCH 6/6] android: adjust target for android Henrik Austad
2015-09-21 20:00 ` John Kacur
2015-09-22 10:08 ` Henrik Austad
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=1442849248-573-3-git-send-email-haustad@cisco.com \
--to=haustad@cisco.com \
--cc=jkacur@redhat.com \
--cc=joshc@ni.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/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).