lkml.org 
[lkml]   [2006]   [Aug]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 4 Aug 2006 22:49:13 -0700
FromAndrew Morton <>
SubjectRe: [PATCH] Rate-limit the RTC 'missed interrupts' warning.
On Sat, 5 Aug 2006 01:53:08 +0200
Matthias Urlichs <smurf@smurf.noris.de> wrote:

> Cc: recipient list not shown: ;

I'm assuming there was supposed to be a mailing list there.

> Subject: [PATCH] Rate-limit the RTC 'missed interrupts' warning.
> Date: Sat, 5 Aug 2006 01:53:08 +0200
> 
> Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
> ---
>  drivers/char/rtc.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
> index 7cac6d0..fbd214f 100644
> --- a/drivers/char/rtc.c
> +++ b/drivers/char/rtc.c
> @@ -1131,7 +1131,8 @@ static void rtc_dropped_irq(unsigned lon
> 
>  	spin_unlock_irq(&rtc_lock);
> 
> -	printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq);
> +	if(printk_ratelimit())
> +		printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq);
> 
>  	/* Now we have new data */
>  	wake_up_interruptible(&rtc_wait);

What is causing your machine to lose so many RTC interrupts?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-05 07:51    [from the cache]
©2003-2008