diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/mc146818rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c index f6bb21d292..9640afe7b3 100644 --- a/hw/mc146818rtc.c +++ b/hw/mc146818rtc.c @@ -104,7 +104,7 @@ static void rtc_timer_update(RTCState *s, int64_t current_time) /* disable periodic timer if hpet is in legacy mode, since interrupts are * disabled anyway. */ - enable_pie = hpet_in_legacy_mode(); + enable_pie = !hpet_in_legacy_mode(); #else enable_pie = 1; #endif |