You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
17 years ago
..
.gitignore
[ATM]: Ignore generated file pca200e_ecd.bin2
18 years ago
Kconfig
Add some help texts to recently-introduced kconfig items
18 years ago
Makefile
kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP
18 years ago
adummy.c
PCI: Cleanup the includes of <linux/pci.h>
18 years ago
ambassador.c
[ATM] drivers/atm/ambassador.c: stop inlining largish static functions
17 years ago
ambassador.h
long vs. unsigned long - low-hanging fruits in drivers
18 years ago
atmsar11.data
…
atmsar11.regions
…
atmsar11.start
…
atmtcp.c
[NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net
18 years ago
eni.c
[ATM]: [drivers] ioremap balanced with iounmap
18 years ago
eni.h
[ATM] ENI: Convert to struct timeval to ktime_t.
18 years ago
firestream.c
[ATM] firestream: Fix uninitialized var warning.
17 years ago
firestream.h
…
fore200e.c
fore2000 - fix misannotations
17 years ago
fore200e.h
fore2000 - fix misannotations
17 years ago
fore200e_firmware_copyright
…
fore200e_mkfirm.c
…
he.c
[ATM]: Make atm/he.c:read_prom_byte() static
17 years ago
he.h
…
horizon.c
[ATM] drivers/atm/horizon.c: stop inlining largish static functions
17 years ago
horizon.h
long vs. unsigned long - low-hanging fruits in drivers
18 years ago
idt77105.c
[ATM] atm/idt77105.c: Fix section mismatch.
17 years ago
idt77105.h
…
idt77252.c
[ATM] atm/idt77252.c: Make 2 functions static
17 years ago
idt77252.h
[ATM]: Use mutex instead of binary semaphore in idt77252 driver.
18 years ago
idt77252_tables.h
…
iphase.c
drivers/atm: use time_before, time_before_eq, etc
17 years ago
iphase.h
Remove obsolete #include <linux/config.h>
19 years ago
lanai.c
[ATM]: Clean up duplicate includes in drivers/atm/
18 years ago
midway.h
…
nicstar.c
atm nicstar: Removal of debug code containing deprecated calls to cli()/sti()
17 years ago
nicstar.h
atm nicstar: Removal of debug code containing deprecated calls to cli()/sti()
17 years ago
nicstarmac.c
[ATM]: [nicstar] Replace C code with call to ARRAY_SIZE() macro.
18 years ago
nicstarmac.copyright
…
pca200e.data
…
pca200e_ecd.data
…
sba200e_ecd.data
…
suni.c
[ATM] atm/suni.c: Fix section mismatch.
17 years ago
suni.h
…
tonga.h
…
uPD98401.h
…
uPD98402.c
[PATCH] remove many unneeded #includes of sched.h
18 years ago
uPD98402.h
…
zatm.c
drivers/*: mark variables with uninitialized_var()
18 years ago
zatm.h
Remove obsolete #include <linux/config.h>
19 years ago
zeprom.h
…