diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 1ddb0a8c7976..f36f549e5744 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -5080,24 +5080,6 @@ asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len, | |||
5080 | return sched_setaffinity(pid, &new_mask); | 5080 | return sched_setaffinity(pid, &new_mask); |
5081 | } | 5081 | } |
5082 | 5082 | ||
5083 | /* | ||
5084 | * Represents all cpu's present in the system | ||
5085 | * In systems capable of hotplug, this map could dynamically grow | ||
5086 | * as new cpu's are detected in the system via any platform specific | ||
5087 | * method, such as ACPI for e.g. | ||
5088 | */ | ||
5089 | |||
5090 | cpumask_t cpu_present_map __read_mostly; | ||
5091 | EXPORT_SYMBOL(cpu_present_map); | ||
5092 | |||
5093 | #ifndef CONFIG_SMP | ||
5094 | cpumask_t cpu_online_map __read_mostly = CPU_MASK_ALL; | ||
5095 | EXPORT_SYMBOL(cpu_online_map); | ||
5096 | |||
5097 | cpumask_t cpu_possible_map __read_mostly = CPU_MASK_ALL; | ||
5098 | EXPORT_SYMBOL(cpu_possible_map); | ||
5099 | #endif | ||
5100 | |||
5101 | long sched_getaffinity(pid_t pid, cpumask_t *mask) | 5083 | long sched_getaffinity(pid_t pid, cpumask_t *mask) |
5102 | { | 5084 | { |
5103 | struct task_struct *p; | 5085 | struct task_struct *p; |