summaryrefslogtreecommitdiff
path: root/hw/mc146818rtc.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 02:19:52 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 02:19:52 +0000
commita8b01dd87f3f1cb93d51ce87b13f57fe5415e33e (patch)
tree9e408b570d88e868d6409dca252ddab01bcae32e /hw/mc146818rtc.c
parent930c86820e8e0b6dfcf211bda5e835463d72ff42 (diff)
downloadqemu-a8b01dd87f3f1cb93d51ce87b13f57fe5415e33e.tar.gz
Fix RTC breakage from r7031.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7062 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mc146818rtc.c')
-rw-r--r--hw/mc146818rtc.c2
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