]> Pileus Git - ~andy/linux/blobdiff - mm/pdflush.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial
[~andy/linux] / mm / pdflush.c
index 3931f716454aaccc3259f74a0b9e308fe64101ee..1c96cfc9e0400cf0e6b3c4cf41cdccc03bff17c0 100644 (file)
@@ -187,8 +187,8 @@ static int pdflush(void *dummy)
         * This is needed as pdflush's are dynamically created and destroyed.
         * The boottime pdflush's are easily placed w/o these 2 lines.
         */
-       cpus_allowed = cpuset_cpus_allowed(current);
-       set_cpus_allowed(current, cpus_allowed);
+       cpuset_cpus_allowed(current, &cpus_allowed);
+       set_cpus_allowed_ptr(current, &cpus_allowed);
 
        return __pdflush(&my_work);
 }