Commit a8b01dd87f3f1cb93d51ce87b13f57fe5415e33e
1 parent
930c8682
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
Showing
1 changed file
with
1 additions
and
1 deletions
hw/mc146818rtc.c
| @@ -104,7 +104,7 @@ static void rtc_timer_update(RTCState *s, int64_t current_time) | @@ -104,7 +104,7 @@ static void rtc_timer_update(RTCState *s, int64_t current_time) | ||
| 104 | /* disable periodic timer if hpet is in legacy mode, since interrupts are | 104 | /* disable periodic timer if hpet is in legacy mode, since interrupts are |
| 105 | * disabled anyway. | 105 | * disabled anyway. |
| 106 | */ | 106 | */ |
| 107 | - enable_pie = hpet_in_legacy_mode(); | 107 | + enable_pie = !hpet_in_legacy_mode(); |
| 108 | #else | 108 | #else |
| 109 | enable_pie = 1; | 109 | enable_pie = 1; |
| 110 | #endif | 110 | #endif |