Commit:     c98aa86df3169e5d6275305376043134caa69831
Parent:     96b5a46e2a72dc1829370c87053e0cd558d58bc0
Author:     H. Peter Anvin <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 12 13:52:37 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Feb 12 14:29:26 2008 -0800 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 <[EMAIL PROTECTED]>
    Tested-by: Carlos R. Mafra <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/ |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/ b/kernel/
index 62b1287..4146803 100644
--- a/kernel/
+++ b/kernel/
@@ -339,7 +339,7 @@ sub output($@)
        print "\n";
        foreach $pfx ('HZ_TO_MSEC','MSEC_TO_HZ',
-                     'USEC_TO_HZ','HZ_TO_USEC') {
+                     'HZ_TO_USEC','USEC_TO_HZ') {
                foreach $bit (32, 64) {
                        foreach $suf ('MUL', 'ADJ', 'SHR') {
                                printf "#define %-23s %s\n",
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to