sched/headers: Move 'struct sched_param' out of uapi, to work around glibc/musl breakage
Change-Id: I3943f8f4a11a9007ccc392de3ece9e62841e8fcb
This commit is contained in:
@@ -56,7 +56,6 @@ struct robust_list_head;
|
|||||||
struct root_domain;
|
struct root_domain;
|
||||||
struct rq;
|
struct rq;
|
||||||
struct sched_attr;
|
struct sched_attr;
|
||||||
struct sched_param;
|
|
||||||
struct seq_file;
|
struct seq_file;
|
||||||
struct sighand_struct;
|
struct sighand_struct;
|
||||||
struct signal_struct;
|
struct signal_struct;
|
||||||
@@ -328,6 +327,10 @@ extern struct root_domain def_root_domain;
|
|||||||
extern struct mutex sched_domains_mutex;
|
extern struct mutex sched_domains_mutex;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct sched_param {
|
||||||
|
int sched_priority;
|
||||||
|
};
|
||||||
|
|
||||||
struct sched_info {
|
struct sched_info {
|
||||||
#ifdef CONFIG_SCHED_INFO
|
#ifdef CONFIG_SCHED_INFO
|
||||||
/* Cumulative counters: */
|
/* Cumulative counters: */
|
||||||
|
|||||||
@@ -4,10 +4,6 @@
|
|||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
struct sched_param {
|
|
||||||
int sched_priority;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */
|
#define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */
|
||||||
#define SCHED_ATTR_SIZE_VER1 56 /* add: util_{min,max} */
|
#define SCHED_ATTR_SIZE_VER1 56 /* add: util_{min,max} */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user