Remove XXX_FROZEN state from mm/vmscan.

Signed-off-by: Chen, Gong <gong.c...@linux.intel.com>
---
 mm/vmscan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index 0f16ffe..25c0109 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -3454,7 +3454,7 @@ static int cpu_callback(struct notifier_block *nfb, 
unsigned long action,
 {
        int nid;
 
-       if (action == CPU_ONLINE || action == CPU_ONLINE_FROZEN) {
+       if ((action & ~CPU_TASKS_FROZEN) == CPU_ONLINE) {
                for_each_node_state(nid, N_MEMORY) {
                        pg_data_t *pgdat = NODE_DATA(nid);
                        const struct cpumask *mask;
-- 
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to