Commit 2dc2ae34 authored by David Daney's avatar David Daney Committed by Ralf Baechle

MIPS: Export __cpu_number_map and __cpu_logical_map.

The forthcoming Octeon watchdog driver will use them.
Signed-off-by: default avatarDavid 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent ea435464
...@@ -47,8 +47,12 @@ ...@@ -47,8 +47,12 @@
#endif /* CONFIG_MIPS_MT_SMTC */ #endif /* CONFIG_MIPS_MT_SMTC */
volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */
int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
EXPORT_SYMBOL(__cpu_number_map);
int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */
EXPORT_SYMBOL(__cpu_logical_map);
/* Number of TCs (or siblings in Intel speak) per CPU core */ /* Number of TCs (or siblings in Intel speak) per CPU core */
int smp_num_siblings = 1; int smp_num_siblings = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment