diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-07-23 21:41:45 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:21 -0400 |
commit | 2dc2ae344e0e655fb4296266036d2ac5064634ae (patch) | |
tree | 234bf9f8df0bd502523d3dc6c68e51c882931499 | |
parent | ea435464a14af37b9384e96b2f5a1f76a605b048 (diff) |
MIPS: Export __cpu_number_map and __cpu_logical_map.
The forthcoming Octeon watchdog driver will use them.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1499/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/smp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index 6cdca1956b77..383aeb95cb49 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips/kernel/smp.c | |||
@@ -47,8 +47,12 @@ | |||
47 | #endif /* CONFIG_MIPS_MT_SMTC */ | 47 | #endif /* CONFIG_MIPS_MT_SMTC */ |
48 | 48 | ||
49 | volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ | 49 | volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ |
50 | |||
50 | int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ | 51 | int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ |
52 | EXPORT_SYMBOL(__cpu_number_map); | ||
53 | |||
51 | int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ | 54 | int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ |
55 | EXPORT_SYMBOL(__cpu_logical_map); | ||
52 | 56 | ||
53 | /* Number of TCs (or siblings in Intel speak) per CPU core */ | 57 | /* Number of TCs (or siblings in Intel speak) per CPU core */ |
54 | int smp_num_siblings = 1; | 58 | int smp_num_siblings = 1; |