aha/drivers/atm
Julia Lawall 420635f517 drivers/atm: use time_before, time_before_eq, etc
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.

A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@ change_compare_np @
expression E;
@@

(
- jiffies <= E
+ time_before_eq(jiffies,E)
|
- jiffies >= E
+ time_after_eq(jiffies,E)
|
- jiffies < E
+ time_before(jiffies,E)
|
- jiffies > E
+ time_after(jiffies,E)
)

@ include depends on change_compare_np @
@@

#include <linux/jiffies.h>

@ no_include depends on !include && change_compare_np @
@@

  #include <linux/...>
+ #include <linux/jiffies.h>
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-19 18:14:50 -07:00
..
.gitignore [ATM]: Ignore generated file pca200e_ecd.bin2 2006-12-11 14:34:35 -08:00
adummy.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ambassador.c [ATM] drivers/atm/ambassador.c: stop inlining largish static functions 2008-04-03 14:59:55 -07:00
ambassador.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
atmsar11.data
atmsar11.regions
atmsar11.start
atmtcp.c [NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net 2007-04-26 01:37:44 -07:00
eni.c [ATM]: [drivers] ioremap balanced with iounmap 2007-07-18 01:46:55 -07:00
eni.h [ATM] ENI: Convert to struct timeval to ktime_t. 2007-04-25 22:23:46 -07:00
firestream.c [ATM] firestream: Fix uninitialized var warning. 2008-03-28 16:19:26 -07:00
firestream.h
fore200e.c fore2000 - fix misannotations 2008-03-17 07:56:31 -04:00
fore200e.h fore2000 - fix misannotations 2008-03-17 07:56:31 -04:00
fore200e_firmware_copyright
fore200e_mkfirm.c
he.c [ATM]: Make atm/he.c:read_prom_byte() static 2008-03-31 19:34:44 -07:00
he.h
horizon.c [ATM] drivers/atm/horizon.c: stop inlining largish static functions 2008-04-13 21:54:34 -07:00
horizon.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
idt77105.c [ATM] atm/idt77105.c: Fix section mismatch. 2008-01-20 20:31:43 -08:00
idt77105.h [ATM]: [idt77105] should be __devinit not __init 2006-06-29 16:58:12 -07:00
idt77252.c [ATM] atm/idt77252.c: Make 2 functions static 2008-03-31 19:35:52 -07:00
idt77252.h [ATM]: Use mutex instead of binary semaphore in idt77252 driver. 2007-05-24 16:36:45 -07:00
idt77252_tables.h
iphase.c drivers/atm: use time_before, time_before_eq, etc 2008-04-19 18:14:50 -07:00
iphase.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
lanai.c [ATM]: Clean up duplicate includes in drivers/atm/ 2007-08-13 22:52:00 -07:00
Makefile kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP 2007-10-15 22:17:25 +02:00
midway.h
nicstar.c atm nicstar: Removal of debug code containing deprecated calls to cli()/sti() 2008-04-19 18:10:46 -07:00
nicstar.h atm nicstar: Removal of debug code containing deprecated calls to cli()/sti() 2008-04-19 18:10:46 -07:00
nicstarmac.c [ATM]: [nicstar] Replace C code with call to ARRAY_SIZE() macro. 2007-07-18 01:46:53 -07:00
nicstarmac.copyright
pca200e.data
pca200e_ecd.data
sba200e_ecd.data
suni.c [ATM] atm/suni.c: Fix section mismatch. 2008-01-20 20:31:44 -08:00
suni.h
tonga.h
uPD98401.h
uPD98402.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
uPD98402.h
zatm.c drivers/*: mark variables with uninitialized_var() 2007-07-17 16:23:19 -04:00
zatm.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
zeprom.h