aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/topology.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-03-26 23:02:23 +0100
committerTony Luck <tony.luck@intel.com>2010-05-18 14:45:53 -0700
commit552dce3a071f0de2a84023fbba7f3b4ac36602cd (patch)
tree490c63647dcaa2b5f8519908dd003c59d17eb30c /arch/ia64/kernel/topology.c
parent[IA64] Use set_cpus_allowed_ptr (diff)
downloadlinux-dev-552dce3a071f0de2a84023fbba7f3b4ac36602cd.tar.xz
linux-dev-552dce3a071f0de2a84023fbba7f3b4ac36602cd.zip
[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.c4
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)
return 0;
oldmask = current->cpus_allowed;
- retval = set_cpus_allowed(current, cpumask_of_cpu(cpu));
+ retval = set_cpus_allowed_ptr(current, cpumask_of(cpu));
if (unlikely(retval))
return retval;
retval = cpu_cache_sysfs_init(cpu);
- set_cpus_allowed(current, oldmask);
+ set_cpus_allowed_ptr(current, &oldmask);
if (unlikely(retval < 0))
return retval;