mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Use time_* macros
@ 2008-02-14 15:36 S.Çağlar Onur
  0 siblings, 0 replies; only message in thread
From: S.Çağlar Onur @ 2008-02-14 15:36 UTC (permalink / raw)
  To: linux-kernel


The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values.

So following patchset implements usage of the time_* macros, defined at linux/jiffies.h, which deals with wrapping correctly

 arch/alpha/kernel/traps.c            |    3 ++-
 arch/ia64/kernel/irq_ia64.c          |    2 +-
 arch/ia64/kernel/mca.c               |    3 ++-
 arch/ia64/kernel/unaligned.c         |    3 ++-
 arch/parisc/kernel/unaligned.c       |    2 +-
 arch/powerpc/platforms/iseries/pci.c |    3 ++-
 arch/sparc64/kernel/unaligned.c      |    3 ++-
 drivers/net/arcnet/arcnet.c          |    4 ++--
 drivers/net/ax88796.c                |    5 +++--
 drivers/net/tokenring/3c359.c        |   21 +++++++++++----------
 drivers/net/wireless/atmel.c         |    5 +++--
 fs/binfmt_aout.c                     |    7 ++++---
 include/linux/arcdevice.h            |    2 +-
 kernel/irq/spurious.c                |    3 ++-
 mm/page_alloc.c                      |    3 ++-
 mm/pdflush.c                         |    5 +++--
 net/bluetooth/hci_core.c             |    5 +++--
 net/mac80211/rc80211_simple.c        |    3 ++-
 net/mac80211/rx.c                    |    3 ++-
 19 files changed, 50 insertions(+), 35 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-14 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14 15:36 Use time_* macros S.Çağlar Onur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®