tickets 1511 and 1522 (HZ)

Jean Delvare khali at
Sat Jan 17 19:06:18 CET 2004

Hi all,

Tickets 1511 and 1522 refer to a compilation problem.

After a few exchanges with both users I could find the following. Looks
like both users have some additional (2.4) kernel patch that makes HZ
resolve to get_hz() instead of an integer value. This causes trouble
because this isn't allowed in struct initializations. I see three

1* This isn't the vanilla kernel, we don't support it.

2* We move the initialization of anything with HZ in it out of the
structure declarations.

3* We use USER_HZ instead of HZ when USER_HZ is defined (which is the
case with the mysterious patch, USER_HZ is 100).

Opinion anyone?


Jean Delvare

More information about the lm-sensors mailing list