]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tools headers: Synchronize uapi/linux/sched.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 2 Feb 2018 20:14:53 +0000 (17:14 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 2 Feb 2018 20:17:13 +0000 (17:17 -0300)
To get the tools copy updated with the changes in 34be39305a77
("sched/deadline: Implement "runtime overrun signal" support"), that
cause no effect on the tools, will be used when we start copying the
sched_attr struct argument to the sched_get/setattr syscalls.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Juri Lelli <juri.lelli@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-8rododhs87x8hv9k83qcdtne@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/sched.h

index 30a9e51bbb1e583fc5344ba0ef849cd4c464b72f..22627f80063e3a0bcd36cbaf978c28fe6e631740 100644 (file)
  */
 #define SCHED_FLAG_RESET_ON_FORK       0x01
 #define SCHED_FLAG_RECLAIM             0x02
+#define SCHED_FLAG_DL_OVERRUN          0x04
+
+#define SCHED_FLAG_ALL (SCHED_FLAG_RESET_ON_FORK       | \
+                        SCHED_FLAG_RECLAIM             | \
+                        SCHED_FLAG_DL_OVERRUN)
 
 #endif /* _UAPI_LINUX_SCHED_H */