diff options
Diffstat (limited to 'drivers/char/rtc.c')
-rw-r--r-- | 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 20380a2c4dee..22cf7aa56cc4 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c | |||
@@ -1159,7 +1159,8 @@ static void rtc_dropped_irq(unsigned long data) | |||
1159 | 1159 | ||
1160 | spin_unlock_irq(&rtc_lock); | 1160 | spin_unlock_irq(&rtc_lock); |
1161 | 1161 | ||
1162 | printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq); | 1162 | if (printk_ratelimit()) |
1163 | printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq); | ||
1163 | 1164 | ||
1164 | /* Now we have new data */ | 1165 | /* Now we have new data */ |
1165 | wake_up_interruptible(&rtc_wait); | 1166 | wake_up_interruptible(&rtc_wait); |