From: David Daney Date: Sat, 24 Jul 2010 01:41:45 +0000 (-0700) Subject: MIPS: Export __cpu_number_map and __cpu_logical_map. X-Git-Tag: v2.6.36-rc1~563^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2dc2ae344e0e655fb4296266036d2ac5064634ae;p=platform%2Fupstream%2Fkernel-adaptation-pc.git MIPS: Export __cpu_number_map and __cpu_logical_map. The forthcoming Octeon watchdog driver will use them. Signed-off-by: David Daney 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 --- diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index 6cdca19..383aeb9 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips/kernel/smp.c @@ -47,8 +47,12 @@ #endif /* CONFIG_MIPS_MT_SMTC */ volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ + 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 */ +EXPORT_SYMBOL(__cpu_logical_map); /* Number of TCs (or siblings in Intel speak) per CPU core */ int smp_num_siblings = 1;