Skip to content

Commit

Permalink
Merge pull request raspberrypi#42 from sched-ext/struct_cpumask
Browse files Browse the repository at this point in the history
scx: Make cpumask arg to ops.set_cpumask() const
  • Loading branch information
htejun authored Aug 3, 2023
2 parents 94a5c60 + 8b8596e commit aeaacb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/sched/ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ struct sched_ext_ops {
*
* Update @p's CPU affinity to @cpumask.
*/
void (*set_cpumask)(struct task_struct *p, struct cpumask *cpumask);
void (*set_cpumask)(struct task_struct *p,
const struct cpumask *cpumask);

/**
* update_idle - Update the idle state of a CPU
Expand Down

0 comments on commit aeaacb3

Please sign in to comment.