]> err.no Git - linux-2.6/commit
arch/alpha/kernel/traps.c: use time_* macros
authorS.Caglar Onur <caglar@pardus.org.tr>
Mon, 28 Apr 2008 09:13:47 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:27 +0000 (08:58 -0700)
commit037f436f525dac36c9f5fd5c5054518a63debb3e
tree142ca318b163cb3058882a68a405526b19856d1a
parent95d193a90335b4e39dd1f750f1fc1672339ff487
arch/alpha/kernel/traps.c: use time_* macros

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

So implement usage of the time_after() macro, defined in linux/jiffies.h,
which deals with wrapping correctly

[akpm@linux-foundation.org: fix warning]
Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/traps.c