]> git.baikalelectronics.ru Git - kernel.git/commit
timeconst.pl: correct reversal of USEC_TO_HZ and HZ_TO_USEC
authorH. Peter Anvin <hpa@zytor.com>
Tue, 12 Feb 2008 21:52:37 +0000 (13:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 12 Feb 2008 22:29:26 +0000 (14:29 -0800)
commitf1046eea93c007b5ec388857220946cf96a17af8
tree2c6f7f675b62748c6db3bf7ce316b5977f12305c
parent9b47bdd0bb20a73bb3bee171fe92fcbe38df9a24
timeconst.pl: correct reversal of USEC_TO_HZ and HZ_TO_USEC

The USEC_TO_HZ and HZ_TO_USEC constant sets were mislabelled, with
seriously incorrect results.  This among other things manifested
itself as cpufreq not working when a tickless kernel was configured.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Tested-by: Carlos R. Mafra <crmafra@ift.unesp.br>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/timeconst.pl