]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/vmstat.c
arm64: dts: r8a7795: Add INTC-EX device node
[karo-tx-linux.git] / mm / vmstat.c
index 64bd0aa13f75cc25247609542f0949c18995c8c1..40b2c74ddf16d69abc52574c469d9f22dd49cf03 100644 (file)
@@ -1408,17 +1408,7 @@ static void vmstat_update(struct work_struct *w)
                 * Defer the checking for differentials to the
                 * shepherd thread on a different processor.
                 */
-               int r;
-               /*
-                * Shepherd work thread does not race since it never
-                * changes the bit if its zero but the cpu
-                * online / off line code may race if
-                * worker threads are still allowed during
-                * shutdown / startup.
-                */
-               r = cpumask_test_and_set_cpu(smp_processor_id(),
-                       cpu_stat_off);
-               VM_BUG_ON(r);
+               cpumask_set_cpu(smp_processor_id(), cpu_stat_off);
        }
 }