public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* time_after - what on earth???
@ 2007-09-11 22:05 Adrian McMenamin
  2007-09-11 22:11 ` Rene Herman
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian McMenamin @ 2007-09-11 22:05 UTC (permalink / raw)
  To: linux-kernel, linuxsh-dev; +Cc: Paul Mundt

OK, why does this line occasionally return true:

	if ((maple_dev->interval > 0) && (jiffies >maple_dev->when))

while this one never does (no other changes made):

if  ((maple_dev->interval > 0) && (time_after(jiffies, maple_dev->when)))


Is this a gcc issue or what?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-09-12  0:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 22:05 time_after - what on earth??? Adrian McMenamin
2007-09-11 22:11 ` Rene Herman
2007-09-11 22:15   ` Adrian McMenamin
2007-09-11 22:19     ` Rene Herman
2007-09-11 23:09       ` Björn Steinbrink
2007-09-11 23:10         ` Adrian McMenamin
2007-09-11 23:50           ` Björn Steinbrink
2007-09-12  0:03             ` Adrian McMenamin
2007-09-11 23:16         ` Rene Herman

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