提交 a8b01dd8 编写于 作者: P pbrook

Fix RTC breakage from r7031.

Signed-off-by: NPaul Brook <paul@codesourcery.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7062 c046a42c-6fe2-441c-8c8c-71466251a162
上级 930c8682
...@@ -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)
/* disable periodic timer if hpet is in legacy mode, since interrupts are /* disable periodic timer if hpet is in legacy mode, since interrupts are
* disabled anyway. * disabled anyway.
*/ */
enable_pie = hpet_in_legacy_mode(); enable_pie = !hpet_in_legacy_mode();
#else #else
enable_pie = 1; enable_pie = 1;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册