X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Ftimer.h;h=c661710d3627daeeb40dca898ef48e4123d023cb;hb=5b65c09e9966cae543d4727984f098b699aa1653;hp=e0c5c16c992f2aeac2a2db8436354aec639c1f9a;hpb=9028780a3e6d2c3dd940e89b377765cca008b6df;p=powerpc.git diff --git a/include/linux/timer.h b/include/linux/timer.h index e0c5c16c99..c661710d36 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -68,6 +68,12 @@ extern int del_timer(struct timer_list * timer); extern int __mod_timer(struct timer_list *timer, unsigned long expires); extern int mod_timer(struct timer_list *timer, unsigned long expires); +/* + * The jiffies value which is added to now, when there is no timer + * in the timer wheel: + */ +#define NEXT_TIMER_MAX_DELTA ((1UL << 30) - 1) + /* * Return when the next timer-wheel timeout occurs (in absolute jiffies), * locks the timer base: