1 From 53c7e8bc75f0f27752309ddae49e8d3b867a7681 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@gmail.com>
3 Date: Mon, 15 Aug 2016 18:20:47 +0200
4 Subject: [PATCH] Add syscall-number for sched_(gs)etattr() for SH4
6 Signed-off-by: Romain Naour <romain.naour@gmail.com>
8 src/include/rt-sched.h | 10 ++++++++++
9 1 file changed, 10 insertions(+)
11 diff --git a/src/include/rt-sched.h b/src/include/rt-sched.h
12 index 679c4bd..83394c6 100644
13 --- a/src/include/rt-sched.h
14 +++ b/src/include/rt-sched.h
19 +/* SCHED_DEADLINE available on sh4 since kernel 4.8 */
21 +#ifndef __NR_sched_setattr
22 +#define __NR_sched_setattr 370
24 +#ifndef __NR_sched_getattr
25 +#define __NR_sched_getattr 369
30 #define __NR_sched_setattr 274
31 #define __NR_sched_getattr 275