sched/headers: Move 'struct sched_param' out of uapi, to work around glibc/musl breakage

This commit is contained in:
Kir Kolyshkin
2025-06-30 17:51:38 +03:00
committed by nyxalune
parent 90832ed56f
commit 8feb03eb21
2 changed files with 4 additions and 5 deletions

View File

@@ -56,7 +56,6 @@ struct robust_list_head;
struct root_domain;
struct rq;
struct sched_attr;
struct sched_param;
struct seq_file;
struct sighand_struct;
struct signal_struct;
@@ -328,6 +327,10 @@ extern struct root_domain def_root_domain;
extern struct mutex sched_domains_mutex;
#endif
struct sched_param {
int sched_priority;
};
struct sched_info {
#ifdef CONFIG_SCHED_INFO
/* Cumulative counters: */

View File

@@ -4,10 +4,6 @@
#include <linux/types.h>
struct sched_param {
int sched_priority;
};
#define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */
#define SCHED_ATTR_SIZE_VER1 56 /* add: util_{min,max} */