[PATCH] powerpc: merged asm/cputable.h

Stephen Rothwell sfr at canb.auug.org.au
Sat Sep 24 10:48:27 EST 2005


On Sat, 24 Sep 2005 10:04:12 +1000 Paul Mackerras <paulus at samba.org> wrote:
>
> Kumar Gala writes:
> 
> > +#ifdef __powerpc64__
> > +extern struct cpu_spec		*cur_cpu_spec;
> > +#else /* __powerpc64__ */
> > +extern struct cpu_spec		*cur_cpu_spec[];
> > +#endif /* __powerpc64__ */
> 
> I would like to see this unified - it makes no sense for them to be
> different.  We are unlikely to support asymmetric multiprocessing any
> time soon, so let's go with the single cur_cpu_spec pointer (a la
> ppc64).

Michael Ellerman also has a patch that makes this a struct (i.e. not a
pointer) which allows us to mark the array of cpuspec's that we test
against at boot time as __init.  Maybe he could do the ppc32 single
cpu_spec as part of that.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20050924/2b13e385/attachment.pgp>


More information about the Linuxppc-dev mailing list