diff options
author | Julia Lawall <julia@diku.dk> | 2010-03-26 18:02:23 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-05-18 17:45:53 -0400 |
commit | 552dce3a071f0de2a84023fbba7f3b4ac36602cd (patch) | |
tree | 490c63647dcaa2b5f8519908dd003c59d17eb30c /arch/ia64/kernel/topology.c | |
parent | 93f7c93bee6382e01c34ea0c34ff8fb98c648734 (diff) |
[IA64] Use set_cpus_allowed_ptr
Use set_cpus_allowed_ptr rather than set_cpus_allowed.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/topology.c')
-rw-r--r-- | arch/ia64/kernel/topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c index 28f299de2903..0baa1bbb65fe 100644 --- a/arch/ia64/kernel/topology.c +++ b/arch/ia64/kernel/topology.c | |||
@@ -361,12 +361,12 @@ static int __cpuinit cache_add_dev(struct sys_device * sys_dev) | |||
361 | return 0; | 361 | return 0; |
362 | 362 | ||
363 | oldmask = current->cpus_allowed; | 363 | oldmask = current->cpus_allowed; |
364 | retval = set_cpus_allowed(current, cpumask_of_cpu(cpu)); | 364 | retval = set_cpus_allowed_ptr(current, cpumask_of(cpu)); |
365 | if (unlikely(retval)) | 365 | if (unlikely(retval)) |
366 | return retval; | 366 | return retval; |
367 | 367 | ||
368 | retval = cpu_cache_sysfs_init(cpu); | 368 | retval = cpu_cache_sysfs_init(cpu); |
369 | set_cpus_allowed(current, oldmask); | 369 | set_cpus_allowed_ptr(current, &oldmask); |
370 | if (unlikely(retval < 0)) | 370 | if (unlikely(retval < 0)) |
371 | return retval; | 371 | return retval; |
372 | 372 | ||