On Sat, 24 Sep 2005 10:04:12 +1000 Paul Mackerras [off-list ref] wrote:
Kumar Gala writes:
quoted
+#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@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/