x86: use new set_cpus_allowed_ptr function
* Use new set_cpus_allowed_ptr() function added by previous patch, which instead of passing the "newly allowed cpus" cpumask_t arg by value, pass it by pointer: -int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask) +int set_cpus_allowed_ptr(struct task_struct *p, const cpumask_t *new_mask) * Cleanup uses of CPU_MASK_ALL. * Collapse other NR_CPUS changes to arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c Use pointers to cpumask_t arguments whenever possible. Depends on: [sched-devel]: sched: add new set_cpus_allowed_ptr function Cc: Len Brown <len.brown@intel.com> Cc: Dave Jones <davej@codemonkey.org.uk> Signed-off-by:Mike Travis <travis@sgi.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/kernel/acpi/cstate.c 2 additions, 2 deletionsarch/x86/kernel/acpi/cstate.c
- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 14 additions, 14 deletionsarch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
- arch/x86/kernel/cpu/cpufreq/powernow-k8.c 17 additions, 15 deletionsarch/x86/kernel/cpu/cpufreq/powernow-k8.c
- arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 7 additions, 6 deletionsarch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
- arch/x86/kernel/cpu/cpufreq/speedstep-ich.c 10 additions, 10 deletionsarch/x86/kernel/cpu/cpufreq/speedstep-ich.c
- arch/x86/kernel/cpu/intel_cacheinfo.c 2 additions, 2 deletionsarch/x86/kernel/cpu/intel_cacheinfo.c
- arch/x86/kernel/microcode.c 8 additions, 8 deletionsarch/x86/kernel/microcode.c
- arch/x86/kernel/reboot.c 1 addition, 1 deletionarch/x86/kernel/reboot.c
Loading
Please register or sign in to comment