Re: MSEC_TO_JIFFIES is messed up...

From: Jeff Garzik
Date: Wed May 12 2004 - 15:19:08 EST

Ingo Molnar wrote:
* Jeff Garzik <jgarzik@xxxxxxxxx> wrote:

Woah, that's new. And wrong. The code in include/asm-i386/param.h that
# define JIFFIES_TO_MSEC(x) (x)
# define MSEC_TO_JIFFIES(x) (x)

Is not correct. Look at kernel/sched.c for verification of this :)

Yes, that is _massively_ broken.

why is it wrong?

Because drivers define that exact same symbol, in an arch-generic way.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at