X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=kernel%2Ftime.c;h=73e416db0a1e6b23205cc416864ea2c91b9d26d0;hb=abede6da27d9bd62ea9512830c83e32b3ee1104c;hp=8e8dc6d705c93126c8b971e6eb88529b3924f678;hpb=f0a2b0cb71e652ae9f0feeea91e5320e4faf25dc;p=linux-2.6-block.git diff --git a/kernel/time.c b/kernel/time.c index 8e8dc6d705c9..73e416db0a1e 100644 --- a/kernel/time.c +++ b/kernel/time.c @@ -27,7 +27,7 @@ * with nanosecond accuracy */ -#include +#include #include #include #include @@ -575,7 +575,7 @@ EXPORT_SYMBOL(jiffies_to_timeval); /* * Convert jiffies/jiffies_64 to clock_t and back. */ -clock_t jiffies_to_clock_t(long x) +clock_t jiffies_to_clock_t(unsigned long x) { #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 # if HZ < USER_HZ