summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/cpu-boost.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpu-boost.c b/drivers/cpufreq/cpu-boost.c
index 3bd705812543..641752a1350c 100644
--- a/drivers/cpufreq/cpu-boost.c
+++ b/drivers/cpufreq/cpu-boost.c
@@ -149,7 +149,8 @@ static int boost_mig_sync_thread(void *data)
unsigned int req_freq;
while (1) {
- wait_event(s->sync_wq, s->pending || kthread_should_stop());
+ wait_event_interruptible(s->sync_wq,
+ s->pending || kthread_should_stop());
if (kthread_should_stop())
break;