diff options
-rw-r--r-- | kernel/sched/idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index cf009fb0bc25..9f1608f99819 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c | |||
@@ -79,7 +79,7 @@ static void cpuidle_idle_call(void) | |||
79 | struct cpuidle_device *dev = __this_cpu_read(cpuidle_devices); | 79 | struct cpuidle_device *dev = __this_cpu_read(cpuidle_devices); |
80 | struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); | 80 | struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); |
81 | int next_state, entered_state; | 81 | int next_state, entered_state; |
82 | bool broadcast; | 82 | unsigned int broadcast; |
83 | 83 | ||
84 | /* | 84 | /* |
85 | * Check if the idle task must be rescheduled. If it is the | 85 | * Check if the idle task must be rescheduled. If it is the |
@@ -135,7 +135,7 @@ use_default: | |||
135 | goto exit_idle; | 135 | goto exit_idle; |
136 | } | 136 | } |
137 | 137 | ||
138 | broadcast = !!(drv->states[next_state].flags & CPUIDLE_FLAG_TIMER_STOP); | 138 | broadcast = drv->states[next_state].flags & CPUIDLE_FLAG_TIMER_STOP; |
139 | 139 | ||
140 | /* | 140 | /* |
141 | * Tell the time framework to switch to a broadcast timer | 141 | * Tell the time framework to switch to a broadcast timer |