Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96772
b: refs/heads/master
c: e557d27
h: refs/heads/master
v: v3
  • Loading branch information
S.Caglar Onur authored and Kyle McMartin committed May 15, 2008
1 parent b8f86f6 commit 929002d
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: b64af9b54c17008705367f554131415793a03fba
refs/heads/master: e557d2775a530c12818fcb5895c4457a5fec59ae
3 changes: 2 additions & 1 deletion trunk/arch/parisc/kernel/unaligned.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ void handle_unaligned(struct pt_regs *regs)
goto force_sigbus;
}

if (unaligned_count > 5 && jiffies - last_time > 5*HZ) {
if (unaligned_count > 5 &&
time_after(jiffies, last_time + 5 * HZ)) {
unaligned_count = 0;
last_time = jiffies;
}
Expand Down

0 comments on commit 929002d

Please sign in to comment.