]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/ia64/kernel/topology.c
Merge branch 'sched/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip...
[karo-tx-linux.git] / arch / ia64 / kernel / topology.c
index 28f299de290397361565b4407f3ec0736fd7a018..0baa1bbb65fe00894e2e284bfc39c3fa9a36e5d4 100644 (file)
@@ -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;