diff options
Diffstat (limited to 'mm/ksm.c')
| -rw-r--r-- | mm/ksm.c | 8 | 
1 files changed, 1 insertions, 7 deletions
@@ -1978,18 +1978,12 @@ void ksm_migrate_page(struct page *newpage, struct page *oldpage)  #endif /* CONFIG_MIGRATION */  #ifdef CONFIG_MEMORY_HOTREMOVE -static int just_wait(void *word) -{ -	schedule(); -	return 0; -} -  static void wait_while_offlining(void)  {  	while (ksm_run & KSM_RUN_OFFLINE) {  		mutex_unlock(&ksm_thread_mutex);  		wait_on_bit(&ksm_run, ilog2(KSM_RUN_OFFLINE), -				just_wait, TASK_UNINTERRUPTIBLE); +			    TASK_UNINTERRUPTIBLE);  		mutex_lock(&ksm_thread_mutex);  	}  }  |