Messages in this thread Patch in this message | | | Date | Thu, 07 Dec 2006 05:33:53 -0600 | From | "K.R. Foley" <> | Subject | Re: v2.6.19-rt6, yum/rpm |
| |
Ingo Molnar wrote: > i have released the 2.6.19-rt6 tree, which can be downloaded from the > usual place: >
Attached patch fixes rtc histogram. Looks like it got broken around 2.6.18-rt?, probably during the merge for 2.6.18?
-- kr --- linux-2.6.19/drivers/char/rtc.c.orig 2006-12-06 21:46:16.000000000 -0600 +++ linux-2.6.19/drivers/char/rtc.c 2006-12-06 21:46:48.000000000 -0600 @@ -427,9 +427,9 @@ irqreturn_t rtc_interrupt(int irq, void if (rtc_callback) rtc_callback->func(rtc_callback->private_data); spin_unlock(&rtc_task_lock); - wake_up_interruptible(&rtc_wait); - kill_fasync (&rtc_async_queue, SIGIO, POLL_IN); + rtc_wake_event(); + wake_up_interruptible(&rtc_wait); return IRQ_HANDLED; } @@ -1328,7 +1328,6 @@ static void rtc_dropped_irq(unsigned lon printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq); /* Now we have new data */ - rtc_wake_event(); wake_up_interruptible(&rtc_wait); kill_fasync (&rtc_async_queue, SIGIO, POLL_IN); | |