[patch 1/2] timerfd - make hrtimer_forward() to return a u64

2007-12-17 Thread Davide Libenzi
This patch makes hrtimer_forward() to return a u64 instead of unsigned long. Since timerfd returns the number of timer ticks in a u64 variable, and hrtimer_forward() is used to calculate the timer ticks, the patch allow full 64 bit usage even on 32 bit platforms. The core of the hrtimer_forward()

[patch 1/2] timerfd - make hrtimer_forward() to return a u64

2007-12-17 Thread Davide Libenzi
This patch makes hrtimer_forward() to return a u64 instead of unsigned long. Since timerfd returns the number of timer ticks in a u64 variable, and hrtimer_forward() is used to calculate the timer ticks, the patch allow full 64 bit usage even on 32 bit platforms. The core of the hrtimer_forward()