login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
12
Re: [PATCH] timeconst.pl: correct reversal of USEC_TO_HZ and HZ_TO_USEC
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Carlos R. Mafra <crmafra@...>
To: H. Peter Anvin <hpa@...>
Cc: Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, Eric Piel <E.A.B.Piel@...>
Subject:
Re: [PATCH] timeconst.pl: correct reversal of USEC_TO_HZ and HZ_TO_USEC
Date: Tuesday, February 12, 2008 - 6:25 pm
H. Peter Anvin wrote:
quoted text
> 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>
quoted text
> --- > kernel/timeconst.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl > index 62b1287..4146803 100644 > --- a/kernel/timeconst.pl > +++ b/kernel/timeconst.pl > @@ -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",
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] timeconst.pl: correct reversal of USEC_TO_HZ and HZ_...
, H. Peter Anvin
, (Tue Feb 12, 5:52 pm)
Re: [PATCH] timeconst.pl: correct reversal of USEC_TO_HZ and...
, Carlos R. Mafra
, (Tue Feb 12, 6:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Jeff Garzik
Re: fallocate-implementation-on-i86-x86_64-and-powerpc.patch
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
621 guests
online.
Online users
olecom
Syndicate