This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / kernel / kmod.c
index 579269c..ea62192 100644 (file)
@@ -154,6 +154,7 @@ static int ____call_usermodehelper(void *data)
 {
        struct subprocess_info *sub_info = data;
        int retval;
+       cpumask_t mask = CPU_MASK_ALL;
 
        /* Unblock all signals. */
        flush_signals(current);
@@ -164,7 +165,7 @@ static int ____call_usermodehelper(void *data)
        spin_unlock_irq(&current->sighand->siglock);
 
        /* We can run anywhere, unlike our parent keventd(). */
-       set_cpus_allowed(current, CPU_MASK_ALL);
+       set_cpus_allowed(current, mask);
 
        retval = -EPERM;
        if (current->fs->root)