[PATCH] powerpc/cell: fix dependency in cpufreq

Michael Ellerman michael at ellerman.id.au
Tue Feb 10 12:01:32 EST 2009


On Tue, 2009-02-10 at 11:46 +1100, Michael Neuling wrote:
> cbe_cpufreq.c uses cbe_cpufreq_has_pmi which is provided by
> cbe_cpufreq_pmi.c.  Hence CBE_CPUFREQ depends on CBE_CPUFREQ_PMI.
> 
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
> I'm not 100% sure is this the right fix.  Should CBE_CPUFREQ really
> depend on CBE_CPUFREQ_PMI?

No I don't think it is. Look at platforms/cell/cbe_cpufreq.h, the
intention seems to be that if PMI isn't built in then that variable is
hardcoded to 0 and we never use the pmi routines.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090210/08869d33/attachment.pgp>


More information about the Linuxppc-dev mailing list