From: Stephen Rothwell <sfr@canb.auug.org.au>
To: ppc-dev <linuxppc-dev@ozlabs.org>
Cc: cbe-oss-dev@ozlabs.org
Subject: cbe_cpufreq.c initialisation
Date: Tue, 3 Apr 2007 18:20:37 +1000 [thread overview]
Message-ID: <20070403182037.93221d65.sfr@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
Hi all,
In cbe_cpufreq_cpu_init, there is this code:
max_freq = (u32*) get_property(cpu, "clock-frequency", NULL);
// we need the freq in kHz
*max_freq /= 1000;
does this really need to modify the property value in place?
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-04-03 8:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-03 8:20 Stephen Rothwell [this message]
2007-04-03 8:37 ` [Cbe-oss-dev] cbe_cpufreq.c initialisation Benjamin Herrenschmidt
2007-04-03 8:44 ` Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070403182037.93221d65.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=cbe-oss-dev@ozlabs.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox