aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched_cpupri.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:16 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:17 +1030
commit612a726faf8486fa48b34fa37115ce1e7421d383 (patch)
tree3448dd7e8129218401eac69b24a6116b06437b4f /kernel/sched_cpupri.h
parent73d0a4b107d58908305f272bfae9bd17f74a2c81 (diff)
cpumask: remove cpumask_t from core
Impact: cleanup struct cpumask is nicer, and we use it to make where we've made code safe for CONFIG_CPUMASK_OFFSTACK=y. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/sched_cpupri.h')
-rw-r--r--kernel/sched_cpupri.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_cpupri.h b/kernel/sched_cpupri.h
index 642a94ef8a0..9a7e859b8fb 100644
--- a/kernel/sched_cpupri.h
+++ b/kernel/sched_cpupri.h
@@ -25,7 +25,7 @@ struct cpupri {
#ifdef CONFIG_SMP
int cpupri_find(struct cpupri *cp,
- struct task_struct *p, cpumask_t *lowest_mask);
+ struct task_struct *p, struct cpumask *lowest_mask);
void cpupri_set(struct cpupri *cp, int cpu, int pri);
int cpupri_init(struct cpupri *cp, bool bootmem);
void cpupri_cleanup(struct cpupri *cp);