fix build
Cc: Anna Schumaker <anna.schumaker@oracle.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
long default_timeout = msecs_to_jiffies(HPAGE_FRAG_CHECK_INTERVAL_MSEC);
long timeout = default_timeout;
- tsk->flags |= PF_KCOMPACTD;
+ current->flags |= PF_KCOMPACTD;
set_freezable();
pgdat->kcompactd_max_order = 0;
pgdat->proactive_compact_trigger = false;
}
- tsk->flags &= ~PF_KCOMPACTD;
+ current->flags &= ~PF_KCOMPACTD;
return 0;
}