/* Called by memory hotplug when all memory in a node is offlined.  */
void kswapd_stop(int nid)
/* Called by memory hotplug when all memory in a node is offlined.  */
void kswapd_stop(int nid)
{
	struct task_struct *kswapd = NODE_DATA(nid)->kswapd;
	if (kswapd)
		kthread_stop(kswapd);
}