Re: [PATCH] x86/intel_cacheinfo: Fix LLC topology for AMD Fam17h systems

From: Aravind Gopalakrishnan
Date: Tue Nov 03 2015 - 14:45:19 EST


On 11/3/2015 1:27 PM, kbuild test robot wrote:
Hi Aravind,

[auto build test ERROR on bp/for-next]
[also ERROR on: v4.3 next-20151103]

url: https://github.com/0day-ci/linux/commits/Aravind-Gopalakrishnan/x86-intel_cacheinfo-Fix-LLC-topology-for-AMD-Fam17h-systems/20151104-031725
base: https://github.com/0day-ci/linux Aravind-Gopalakrishnan/x86-intel_cacheinfo-Fix-LLC-topology-for-AMD-Fam17h-systems/20151104-031725
config: i386-tinyconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/built-in.o: In function `init_amd_cacheinfo':
(.text+0x6aec): undefined reference to `cpu_llc_id'


Thanks for the catch!

cpu_llc_id references should be wrapped under #ifdef CONFIG_SMP.

Did that and kernel build worked with the attached config.

Will send a V2 with the fix.

Thanks,
-Aravind.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/