aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index d129e560cc0d..c0c60c926d5e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3980,12 +3980,12 @@ asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len,
3980 * method, such as ACPI for e.g. 3980 * method, such as ACPI for e.g.
3981 */ 3981 */
3982 3982
3983cpumask_t cpu_present_map; 3983cpumask_t cpu_present_map __read_mostly;
3984EXPORT_SYMBOL(cpu_present_map); 3984EXPORT_SYMBOL(cpu_present_map);
3985 3985
3986#ifndef CONFIG_SMP 3986#ifndef CONFIG_SMP
3987cpumask_t cpu_online_map = CPU_MASK_ALL; 3987cpumask_t cpu_online_map __read_mostly = CPU_MASK_ALL;
3988cpumask_t cpu_possible_map = CPU_MASK_ALL; 3988cpumask_t cpu_possible_map __read_mostly = CPU_MASK_ALL;
3989#endif 3989#endif
3990 3990
3991long sched_getaffinity(pid_t pid, cpumask_t *mask) 3991long sched_getaffinity(pid_t pid, cpumask_t *mask)