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 <gang.chen.5i5j@xxxxxxxxx> --- 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html