Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Dubious MIPS kernel SMP Structures
@ 2004-11-17 15:29 Kevin D. Kissell
  2004-11-17 16:46 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin D. Kissell @ 2004-11-17 15:29 UTC (permalink / raw)
  To: Linux-MIPS Mailing List

In arch/mips/kerenl/smp.c, there are two tables defined, __cpu_number_map[]
and __cpu_logical_map[], which would appear to provide forward and backward
mapping between a set of unique but arbitrary CPU numbers and a monotonically
increasing number 0..n of indices into per-CPU data.   As near as I can tell, the
only use of this is in the sb1250 code for setting up interrupt hardware.  Is there
a reason why it's defined at the mips/kernel level, and not down in the SiByte
platform subtree?  Is there a generic, architectural definition of how these mappings
should and should not be set up and used?

            Regards,

            Kevin K.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-17 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-17 15:29 Dubious MIPS kernel SMP Structures Kevin D. Kissell
2004-11-17 16:46 ` Ralf Baechle
2004-11-17 17:07   ` Kevin D. Kissell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox