|
@@ -5080,24 +5080,6 @@ asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len,
|
|
|
return sched_setaffinity(pid, &new_mask);
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Represents all cpu's present in the system
|
|
|
- * In systems capable of hotplug, this map could dynamically grow
|
|
|
- * as new cpu's are detected in the system via any platform specific
|
|
|
- * method, such as ACPI for e.g.
|
|
|
- */
|
|
|
-
|
|
|
-cpumask_t cpu_present_map __read_mostly;
|
|
|
-EXPORT_SYMBOL(cpu_present_map);
|
|
|
-
|
|
|
-#ifndef CONFIG_SMP
|
|
|
-cpumask_t cpu_online_map __read_mostly = CPU_MASK_ALL;
|
|
|
-EXPORT_SYMBOL(cpu_online_map);
|
|
|
-
|
|
|
-cpumask_t cpu_possible_map __read_mostly = CPU_MASK_ALL;
|
|
|
-EXPORT_SYMBOL(cpu_possible_map);
|
|
|
-#endif
|
|
|
-
|
|
|
long sched_getaffinity(pid_t pid, cpumask_t *mask)
|
|
|
{
|
|
|
struct task_struct *p;
|