[Top] [All Lists]

Dubious MIPS kernel SMP Structures

To: "Linux-MIPS Mailing List" <>
Subject: Dubious MIPS kernel SMP Structures
From: "Kevin D. Kissell" <>
Date: Wed, 17 Nov 2004 16:29:21 +0100
Organization: MIPS Technologies Inc.
Original-recipient: rfc822;
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, 
only use of this is in the sb1250 code for setting up interrupt hardware.  Is 
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 
should and should not be set up and used?


            Kevin K.

<Prev in Thread] Current Thread [Next in Thread>