From 6b9310898b90a6b9cc1048e8cc9fa88f6d4d94dc Mon Sep 17 00:00:00 2001 From: Vojtech Pavlik Date: Wed, 3 Jul 2002 19:26:19 +0200 Subject: Update the input handler modules to latest versions. --- drivers/input/keybdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/input/keybdev.c') diff --git a/drivers/input/keybdev.c b/drivers/input/keybdev.c index 6731dd2542c2..8a5a93b57f7a 100644 --- a/drivers/input/keybdev.c +++ b/drivers/input/keybdev.c @@ -1,5 +1,5 @@ /* - * $Id: keybdev.c,v 1.16 2002/01/09 04:21:41 lethal Exp $ + * $Id: keybdev.c,v 1.19 2002/03/13 10:09:20 vojtech Exp $ * * Copyright (c) 1999-2001 Vojtech Pavlik * @@ -179,7 +179,7 @@ void panic_blink(void) static unsigned long last_jiffie; static char led; /* Roughly 1/2s frequency. KDB uses about 1s. Make sure it is different. */ - if (jiffies - last_jiffie > HZ/2) { + if (time_after(jiffies, last_jiffie + HZ/2)) { led ^= 0x01 | 0x04; keybdev_ledfunc(led); last_jiffie = jiffies; -- cgit v1.2.3