Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85861
b: refs/heads/master
c: cbc9fc5
h: refs/heads/master
i:
  85859: 37531fd
v: v3
  • Loading branch information
S.Çağlar Onur authored and David S. Miller committed Feb 18, 2008
1 parent 21eb183 commit f550d34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 3c62a2d3477ff7725210db57aec3d2806fa10c20
refs/heads/master: cbc9fc5dec60f84b62e0144165c545abd24847c0
3 changes: 2 additions & 1 deletion trunk/arch/sparc64/kernel/unaligned.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/


#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
Expand Down Expand Up @@ -283,7 +284,7 @@ static void log_unaligned(struct pt_regs *regs)
{
static unsigned long count, last_time;

if (jiffies - last_time > 5 * HZ)
if (time_after(jiffies, last_time + 5 * HZ))
count = 0;
if (count < 5) {
last_time = jiffies;
Expand Down

0 comments on commit f550d34

Please sign in to comment.