diff options
-rw-r--r-- | include/linux/cpuset.h | 2 | ||||
-rw-r--r-- | kernel/cpuset.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 2d9a500d994d..3438233305a3 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h | |||
@@ -18,7 +18,7 @@ extern int cpuset_init(void); | |||
18 | extern void cpuset_init_smp(void); | 18 | extern void cpuset_init_smp(void); |
19 | extern void cpuset_fork(struct task_struct *p); | 19 | extern void cpuset_fork(struct task_struct *p); |
20 | extern void cpuset_exit(struct task_struct *p); | 20 | extern void cpuset_exit(struct task_struct *p); |
21 | extern const cpumask_t cpuset_cpus_allowed(const struct task_struct *p); | 21 | extern cpumask_t cpuset_cpus_allowed(const struct task_struct *p); |
22 | void cpuset_init_current_mems_allowed(void); | 22 | void cpuset_init_current_mems_allowed(void); |
23 | void cpuset_update_current_mems_allowed(void); | 23 | void cpuset_update_current_mems_allowed(void); |
24 | void cpuset_restrict_to_mems_allowed(unsigned long *nodes); | 24 | void cpuset_restrict_to_mems_allowed(unsigned long *nodes); |
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 69792bbe2281..961d74044deb 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -1432,7 +1432,7 @@ void cpuset_exit(struct task_struct *tsk) | |||
1432 | * tasks cpuset. | 1432 | * tasks cpuset. |
1433 | **/ | 1433 | **/ |
1434 | 1434 | ||
1435 | const cpumask_t cpuset_cpus_allowed(const struct task_struct *tsk) | 1435 | cpumask_t cpuset_cpus_allowed(const struct task_struct *tsk) |
1436 | { | 1436 | { |
1437 | cpumask_t mask; | 1437 | cpumask_t mask; |
1438 | 1438 | ||