diff options
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 | ||