From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42534 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727141AbeHOPgW (ORCPT ); Wed, 15 Aug 2018 11:36:22 -0400 Date: Wed, 15 Aug 2018 14:44:16 +0200 From: Greg Kroah-Hartman To: Guenter Roeck Cc: stable@vger.kernel.org, Borislav Petkov , Suravee Suthikulpanit , Borislav Petkov , Thomas Gleixner Subject: Re: [PATCH v4.14,v4.17] x86/CPU/AMD: Have smp_num_siblings and cpu_llc_id always be present Message-ID: <20180815124416.GA1447@kroah.com> References: <1534336728-26241-1-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534336728-26241-1-git-send-email-linux@roeck-us.net> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Aug 15, 2018 at 05:38:48AM -0700, Guenter Roeck wrote: > From: Borislav Petkov > > commit f8b64d08dde2714c62751d18ba77f4aeceb161d3 upstream > > Move smp_num_siblings and cpu_llc_id to cpu/common.c so that they're > always present as symbols and not only in the CONFIG_SMP case. Then, > other code using them doesn't need ugly ifdeffery anymore. Get rid of > some ifdeffery. > > Signed-off-by: Borislav Petkov > Signed-off-by: Suravee Suthikulpanit > Signed-off-by: Borislav Petkov > Signed-off-by: Thomas Gleixner > Link: http://lkml.kernel.org/r/1524864877-111962-2-git-send-email-suravee.suthikulpanit@amd.com > Signed-off-by: Guenter Roeck > --- > Needed for x86_64:allnoconfig. Now applied, thanks. greg k-h