| To: | "Linux-MIPS Mailing List" <linux-mips@linux-mips.org> |
|---|---|
| Subject: | Dubious MIPS kernel SMP Structures |
| From: | "Kevin D. Kissell" <kevink@mips.com> |
| Date: | Wed, 17 Nov 2004 16:29:21 +0100 |
| Organization: | MIPS Technologies Inc. |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH]: R52x0 -> RM52xx, Dominic Sweetman |
|---|---|
| Next by Date: | Re: Dubious MIPS kernel SMP Structures, Ralf Baechle |
| Previous by Thread: | [PATCH] Add cpu_wait() for NEC VR41xx, Yoichi Yuasa |
| Next by Thread: | Re: Dubious MIPS kernel SMP Structures, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |