lkml.org 
[lkml]   [2004]   [May]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 2 May 2004 03:59:34 +0200 (CEST)
FromTim Schmielau <>
SubjectRe: /proc or ps tools bug? 2.6.3, time is off
On Sat, 1 May 2004, Andrew Morton wrote:

> Tim Schmielau <tim@physik3.uni-rostock.de> wrote:
> >
> >  +#if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0
> 
> I think this has an inclusion ordering problem.
> 
> In file included from net/ipv6/route.c:30:
> include/linux/times.h:11:42: division by zero in #if
> include/linux/times.h:42:42: division by zero in #if                            
> 
> either NSEC_PER_SEC or USER_HZ hasn't been defined yet.
> 

Yep, we'd need to include timex.h for it. This get's messy. 

OK, I found why John's original patch didn't fix the issue, but I'd like
to hand the patch off to someone with a vision of how time shall be
handled in the kernel.

Sorry,
Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008