From: "S.Çağlar Onur" <caglar@pardus.org.tr>
To: linux-kernel@vger.kernel.org
Subject: Use time_* macros
Date: Thu, 14 Feb 2008 17:36:38 +0200 [thread overview]
Message-ID: <1203003412-11594-1-git-send-email-caglar@pardus.org.tr> (raw)
In-Reply-To: y
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(-)
reply other threads:[~2008-02-14 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1203003412-11594-1-git-send-email-caglar@pardus.org.tr \
--to=caglar@pardus.org.tr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®