* bug in jiffy time comparison macros
@ 2008-06-11 0:29 Ralph Campbell
2008-06-11 2:51 ` Johannes Weiner
0 siblings, 1 reply; 2+ messages in thread
From: Ralph Campbell @ 2008-06-11 0:29 UTC (permalink / raw)
To: linux-kernel
It may just be me :-) but this looks like a bug:
In the current include/linux/jiffies.h:
#define time_before(a,b) time_after(b,a)
Shouldn't this be:
#define time_before(a,b) time_after_eq(b,a)
There are a number of similar macros which fail
to change before to after_eq, or before_eq to after,
etc.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-11 2:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 0:29 bug in jiffy time comparison macros Ralph Campbell
2008-06-11 2:51 ` Johannes Weiner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.