Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264805
b: refs/heads/master
c: a28ee47
h: refs/heads/master
i:
  264803: 07833ec
v: v3
  • Loading branch information
Christian Dietrich authored and Jiri Kosina committed Sep 15, 2011
1 parent fff0586 commit 739c432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5369fcc127622660b1d259fa732420e4a2aecf07
refs/heads/master: a28ee477e5e5e183fa0289841fd90f350a6e0415
7 changes: 3 additions & 4 deletions trunk/drivers/char/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
#include <linux/bcd.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <linux/ratelimit.h>

#include <asm/current.h>
#include <asm/system.h>
Expand Down Expand Up @@ -1195,10 +1196,8 @@ static void rtc_dropped_irq(unsigned long data)

spin_unlock_irq(&rtc_lock);

if (printk_ratelimit()) {
printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n",
freq);
}
printk_ratelimited(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n",
freq);

/* Now we have new data */
wake_up_interruptible(&rtc_wait);
Expand Down

0 comments on commit 739c432

Please sign in to comment.