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