linux-mips
[Top] [All Lists]

[PATCH 5/7] MIPS: Export __cpu_number_map and __cpu_logical_map.

To: linux-mips@linux-mips.org, ralf@linux-mips.org, wim@iguana.be
Subject: [PATCH 5/7] MIPS: Export __cpu_number_map and __cpu_logical_map.
From: David Daney <ddaney@caviumnetworks.com>
Date: Fri, 23 Jul 2010 18:41:45 -0700
Cc: linux-kernel@vger.kernel.org, David Daney <ddaney@caviumnetworks.com>
In-reply-to: <1279935707-3997-1-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1279935707-3997-1-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
The forthcoming Octeon watchdog driver will use them.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 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 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;
-- 
1.7.1.1


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