aboutsummaryrefslogtreecommitdiff
path: root/system/cpu-timers.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/cpu-timers.c')
-rw-r--r--system/cpu-timers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/cpu-timers.c b/system/cpu-timers.c
index bdf3a41dcb..0b31c9a1b6 100644
--- a/system/cpu-timers.c
+++ b/system/cpu-timers.c
@@ -154,7 +154,7 @@ static bool adjust_timers_state_needed(void *opaque)
static bool icount_shift_state_needed(void *opaque)
{
- return icount_enabled() == 2;
+ return icount_enabled() == ICOUNT_ADAPTATIVE;
}
/*