From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c" Date: Thu, 19 Dec 2013 16:03:40 +0800 Message-ID: <52B2A85C.9060303@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=Jp/xSvjSuJg7RWMbtH907B/IfCl18mqWvN/nx1bqtvw=; b=i/IpSbby5j4a1xVwb1/D1gxMzx+vRzY31u4JhV1V5EOpVEvmEwrECjLRsOU4l8ag1S ZMk+bXpAr0R0dKTF1f41J82yj15abdysgmym7M8L8QESq+GZt/lCGcp0v4dXRbAzjtBX HFW/SzvGdXIwtcJxlApaDgw97kSTfDGBQgMGHE1BQ03hy+230LqADXJLd7QDEhu9jxjS HDniWHbot4g4qwcKDdvgmJ/JUjtbev36hDkUIq1bogsu0lFzFe+6dd4se/dYR2oZkd7e B7vOl1B+MG3r02KgXU9srNjFqroIK6SuevHN39BpjookcIWiIBcds832Jswg+lxVe57a N9Zw== Sender: linux-metag-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: James Hogan Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, the related error: MODPOST 2909 modules ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Chen Gang --- arch/metag/kernel/topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/metag/kernel/topology.c b/arch/metag/kernel/topology.c index bec3dec..4ba5957 100644 --- a/arch/metag/kernel/topology.c +++ b/arch/metag/kernel/topology.c @@ -19,6 +19,7 @@ DEFINE_PER_CPU(struct cpuinfo_metag, cpu_data); cpumask_t cpu_core_map[NR_CPUS]; +EXPORT_SYMBOL(cpu_core_map); static cpumask_t cpu_coregroup_map(unsigned int cpu) { -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-metag" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753205Ab3LSIDq (ORCPT ); Thu, 19 Dec 2013 03:03:46 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:37328 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455Ab3LSIDo (ORCPT ); Thu, 19 Dec 2013 03:03:44 -0500 Message-ID: <52B2A85C.9060303@gmail.com> Date: Thu, 19 Dec 2013 16:03:40 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: James Hogan CC: linux-metag@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: [PATCH] arch: metag: kernel: export 'cpu_core_map' in "topology.c" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Need export 'cpu_core_map', or cann't pass compiling with allmodconfig, the related error: MODPOST 2909 modules ERROR: "cpu_core_map" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Chen Gang --- arch/metag/kernel/topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/metag/kernel/topology.c b/arch/metag/kernel/topology.c index bec3dec..4ba5957 100644 --- a/arch/metag/kernel/topology.c +++ b/arch/metag/kernel/topology.c @@ -19,6 +19,7 @@ DEFINE_PER_CPU(struct cpuinfo_metag, cpu_data); cpumask_t cpu_core_map[NR_CPUS]; +EXPORT_SYMBOL(cpu_core_map); static cpumask_t cpu_coregroup_map(unsigned int cpu) { -- 1.7.11.7