Displaying 1 result from an estimated 1 matches for "hpet_evt_disalb".
Did you mean:
hpet_evt_disalbe
2009 Apr 30
0
[PATCH] cpuidle: Fix for timer_deadline==0 case
....
Signed-off-by: Wei Gang <gang.wei@intel.com>
diff -r f734a724902b xen/arch/x86/hpet.c
--- a/xen/arch/x86/hpet.c Mon Apr 27 18:59:56 2009 +0100
+++ b/xen/arch/x86/hpet.c Thu Apr 30 14:45:01 2009 +0800
@@ -122,10 +122,10 @@ static int reprogram_hpet_evt_channel(
if ( ch->flags & HPET_EVT_DISALBE )
return 0;
- if ( unlikely(expire < 0) )
+ if ( unlikely(expire <= 0) )
{
- printk(KERN_DEBUG "reprogram: expire < 0\n");
- return -ETIME;
+ printk(KERN_DEBUG "reprogram: expire <= 0\n");
+ return 0;
}
d...