From: Miguel Sousa Filipe <m3thos@netcabo.pt>
To: Paul Mundt <lethal@linux-sh.org>
Cc: Mikael Pettersson <mikpe@csd.uu.se>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test1 doesn't compile on PPC iBook2.2
Date: Thu, 17 Jul 2003 02:48:26 +0100 [thread overview]
Message-ID: <3F16006A.8070202@netcabo.pt> (raw)
In-Reply-To: <20030717012858.GA11672@linux-sh.org>
Paul Mundt wrote:
> On Thu, Jul 17, 2003 at 01:57:21AM +0100, Miguel Sousa Filipe wrote:
>
>>> CC arch/ppc/platforms/pmac_nvram.o
>>> CC arch/ppc/platforms/pmac_cpufreq.o
>>>arch/ppc/platforms/pmac_cpufreq.c: In function `do_set_cpu_speed':
>>>arch/ppc/platforms/pmac_cpufreq.c:179: `CPUFREQ_ALL_CPUS' undeclared
>>>(first use in this function)
>>>arch/ppc/platforms/pmac_cpufreq.c:179: (Each undeclared identifier is
>>>reported only once
>>>arch/ppc/platforms/pmac_cpufreq.c:179: for each function it appears in.)
>>>make[1]: *** [arch/ppc/platforms/pmac_cpufreq.o] Error 1
>>>make: *** [arch/ppc/platforms] Error 2
>>>
>
>
> This means that the driver hasn't been updated for the new cpufreq API changes.
>
> CPUFREQ_ALL_CPUS is deprecated, as is the /proc interface (which is what
> proc_intf.c references), since now the sysfs interface is preferred.
>
> The pmac_cpufreq.c driver will likely need to be updated a bit (which may
> already be done in the LinuxPPC trees) in order to build or function.
>
> Notably, the verify stuff needs to be changed around quite a bit, since instead
> of doing the range validation and wrapping to cpufreq_verify_within_limits(), a
> frequency table is built up instead and subsequently passed through
> cpufreq_frequency_table_verify(). Take a look at some of the existing cpufreq
> drivers that are up-to-date for ideas on how to do this (most of the i386 ones,
> the SuperH one, and probably others).
>
> As such, you can either look at updating the driver (if this hasn't already
> been done by the LinuxPPC folk), or you can just not build it in. Probably no
> good things will happen if you hack it to the point of building and then
> attempt to use it.
>
Thanks for the feedback, where do i find the LinuxPPC 2.6.x tree?
Would like to have a look before everything else...
Miguel Sousa Filipe
next prev parent reply other threads:[~2003-07-17 1:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-17 0:15 2.6.0-test1 doesn't compile on PPC iBook2.2 Mikael Pettersson
2003-07-17 0:32 ` Miguel Sousa Filipe
2003-07-17 0:57 ` Miguel Sousa Filipe
2003-07-17 1:28 ` Paul Mundt
2003-07-17 1:48 ` Miguel Sousa Filipe [this message]
2003-07-17 1:55 ` Paul Mundt
-- strict thread matches above, loose matches on Subject: below --
2003-07-16 21:14 Miguel Sousa Filipe
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=3F16006A.8070202@netcabo.pt \
--to=m3thos@netcabo.pt \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@csd.uu.se \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.