time_after - what on earth???

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>, <linuxsh-dev@...>
Cc: Paul Mundt <lethal@...>
Date: Tuesday, September 11, 2007 - 6:05 pm

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?
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
time_after - what on earth???, Adrian McMenamin, (Tue Sep 11, 6:05 pm)
Re: time_after - what on earth???, Rene Herman, (Tue Sep 11, 6:11 pm)
Re: time_after - what on earth???, Adrian McMenamin, (Tue Sep 11, 6:15 pm)
Re: time_after - what on earth???, Rene Herman, (Tue Sep 11, 6:19 pm)
Re: time_after - what on earth???, , (Tue Sep 11, 7:09 pm)
Re: time_after - what on earth???, Rene Herman, (Tue Sep 11, 7:16 pm)
Re: time_after - what on earth???, Adrian McMenamin, (Tue Sep 11, 7:10 pm)
Re: time_after - what on earth???, , (Tue Sep 11, 7:50 pm)
Re: time_after - what on earth???, Adrian McMenamin, (Tue Sep 11, 8:03 pm)