Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756096AbbKCTwv (ORCPT ); Tue, 3 Nov 2015 14:52:51 -0500 Received: from mail.skyhub.de ([78.46.96.112]:41907 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756007AbbKCTwu (ORCPT ); Tue, 3 Nov 2015 14:52:50 -0500 Date: Tue, 3 Nov 2015 20:52:46 +0100 From: Borislav Petkov To: Aravind Gopalakrishnan Cc: kbuild test robot , kbuild-all@01.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, bp@suse.de, x86@kernel.org, sudeep.holla@arm.com, akpm@linux-foundation.org, geliangtang@163.com, tj@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/intel_cacheinfo: Fix LLC topology for AMD Fam17h systems Message-ID: <20151103195246.GB3644@pd.tnic> References: <201511040312.OQPDNtTX%fengguang.wu@intel.com> <56390E01.6050104@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56390E01.6050104@amd.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 725 Lines: 22 On Tue, Nov 03, 2015 at 01:41:53PM -0600, Aravind Gopalakrishnan wrote: > 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. Why aren't you doing all that figuring out what the llc_id is in amd_detect_cmp() which is already CONFIG_SMP ifdeffed? Which is where that code belongs anyway... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/