Loading include/linux/sched.h +9 −9 Original line number Original line Diff line number Diff line Loading @@ -920,6 +920,15 @@ extern void partition_sched_domains(int ndoms_new, struct cpumask *doms_new, struct sched_domain_attr *dattr_new); struct sched_domain_attr *dattr_new); extern int arch_reinit_sched_domains(void); extern int arch_reinit_sched_domains(void); /* Test a flag in parent sched domain */ static inline int test_sd_parent(struct sched_domain *sd, int flag) { if (sd->parent && (sd->parent->flags & flag)) return 1; return 0; } #else /* CONFIG_SMP */ #else /* CONFIG_SMP */ struct sched_domain_attr; struct sched_domain_attr; Loading Loading @@ -1431,15 +1440,6 @@ struct task_struct { #endif #endif }; }; /* Test a flag in parent sched domain */ static inline int test_sd_parent(struct sched_domain *sd, int flag) { if (sd->parent && (sd->parent->flags & flag)) return 1; return 0; } /* /* * Priority of a process goes from 0..MAX_PRIO-1, valid RT * Priority of a process goes from 0..MAX_PRIO-1, valid RT * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH Loading Loading
include/linux/sched.h +9 −9 Original line number Original line Diff line number Diff line Loading @@ -920,6 +920,15 @@ extern void partition_sched_domains(int ndoms_new, struct cpumask *doms_new, struct sched_domain_attr *dattr_new); struct sched_domain_attr *dattr_new); extern int arch_reinit_sched_domains(void); extern int arch_reinit_sched_domains(void); /* Test a flag in parent sched domain */ static inline int test_sd_parent(struct sched_domain *sd, int flag) { if (sd->parent && (sd->parent->flags & flag)) return 1; return 0; } #else /* CONFIG_SMP */ #else /* CONFIG_SMP */ struct sched_domain_attr; struct sched_domain_attr; Loading Loading @@ -1431,15 +1440,6 @@ struct task_struct { #endif #endif }; }; /* Test a flag in parent sched domain */ static inline int test_sd_parent(struct sched_domain *sd, int flag) { if (sd->parent && (sd->parent->flags & flag)) return 1; return 0; } /* /* * Priority of a process goes from 0..MAX_PRIO-1, valid RT * Priority of a process goes from 0..MAX_PRIO-1, valid RT * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH Loading