Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93247
b: refs/heads/master
c: b39b044
h: refs/heads/master
i:
  93245: e0401c8
  93243: b0090ba
  93239: 5ad2e2f
  93231: 5d20d67
  93215: 4fb34a4
  93183: d5d762b
v: v3
  • Loading branch information
Julia Lawall authored and Dmitry Torokhov committed Apr 24, 2008
1 parent 32c1554 commit 161c0bf
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 81e329cdddd63d66e2b3c3dc51d429ba074cdbb8
refs/heads/master: b39b04403bba4f807ee6e57ae2f4407187588fcd
4 changes: 3 additions & 1 deletion trunk/drivers/char/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <linux/input.h>
#include <linux/reboot.h>
#include <linux/notifier.h>
#include <linux/jiffies.h>

extern void ctrl_alt_del(void);

Expand Down Expand Up @@ -928,7 +929,8 @@ static void k_brl(struct vc_data *vc, unsigned char value, char up_flag)
if (up_flag) {
if (brl_timeout) {
if (!committing ||
jiffies - releasestart > (brl_timeout * HZ) / 1000) {
time_after(jiffies,
releasestart + msecs_to_jiffies(brl_timeout))) {
committing = pressed;
releasestart = jiffies;
}
Expand Down

0 comments on commit 161c0bf

Please sign in to comment.