Re: /proc or ps tools bug? 2.6.3, time is off

From: Andrew Morton
Date: Sat May 01 2004 - 20:43:02 EST


Tim Schmielau <tim@xxxxxxxxxxxxxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/