1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/kernel/cpu
Mike Travis fc0e474840 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>
2008-04-19 19:44:58 +02:00
..
cpufreq x86: use new set_cpus_allowed_ptr function 2008-04-19 19:44:58 +02:00
mcheck x86: coding style fixes to arch/x86/kernel/cpu/mcheck/mce_32.c 2008-04-17 17:40:50 +02:00
mtrr x86: tom2 warning fix 2008-04-17 17:41:20 +02:00
addon_cpuid_features.c x86: add set/clear_cpu_cap operations 2008-01-30 13:30:55 +01:00
amd.c x86: move apic declarations to mach_apic.h 2008-04-17 17:41:30 +02:00
bugs.c Fix booting pentium+ with dodgy TSC 2008-04-06 16:10:40 -07:00
centaur.c x86: clean up cpu capabilities accesses, centaur.c 2008-04-17 17:40:51 +02:00
common.c x86: pat cpu feature bit setting for known cpus 2008-04-17 17:41:20 +02:00
cpu.h x86: use ELF section to list CPU vendor specific code 2008-04-17 17:40:47 +02:00
cyrix.c x86: clean up cpu capabilities accesses, cyrix.c 2008-04-17 17:40:51 +02:00
feature_names.c x86: arch/x86/kernel/cpu/feature_names.c - use angle brackets for include 2008-04-17 17:40:57 +02:00
intel.c x86: clean up cpu capabilities in arch/x86/kernel/cpu/intel.c 2008-04-17 17:40:51 +02:00
intel_cacheinfo.c x86: use new set_cpus_allowed_ptr function 2008-04-19 19:44:58 +02:00
Makefile x86: unify cpu/proc|_64.c 2008-04-17 17:40:48 +02:00
nexgen.c x86: coding style fixes to arch/x86/kernel/cpu/nexgen.c 2008-04-17 17:40:48 +02:00
perfctr-watchdog.c x86: print message if nmi_watchdog=2 cannot be enabled 2008-04-04 18:36:45 +02:00
proc.c x86: introduce initial apicid 2008-04-17 17:40:58 +02:00
transmeta.c x86: clean up cpu capabilities accesses, transmeta.c 2008-04-17 17:40:51 +02:00
umc.c x86: coding style fixes to arch/x86/kernel/cpu/umc.c 2008-04-17 17:40:49 +02:00