Thread (10 messages) flat view 10 messages, 6 authors, 2005-09-26

Re: [PATCH] powerpc: merged asm/cputable.h

From: Stephen Rothwell <hidden>
Date: 2005-09-24 00:48:27

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/

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help