]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
genirq: spurious.c: use time_* macros
authorS.Caglar Onur <caglar@pardus.org.tr>
Thu, 14 Feb 2008 15:36:51 +0000 (17:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 Feb 2008 09:43:58 +0000 (10:43 +0100)
commit188fd89d539d899bfca2bc83534e5508e0161139
treeffe14a3752c248b2b452f2b13a203a1de982cfae
parent9a4c8546f3e7c893888bccc2b3416d6214f2664a
genirq: spurious.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 following patch implements usage of the time_after() macro, defined
at linux/jiffies.h, which deals with wrapping correctly

Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/spurious.c