From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D9CCC433F5 for ; Tue, 19 Oct 2021 09:23:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 364D96103B for ; Tue, 19 Oct 2021 09:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235033AbhJSJZd (ORCPT ); Tue, 19 Oct 2021 05:25:33 -0400 Received: from foss.arm.com ([217.140.110.172]:46562 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235023AbhJSJZZ (ORCPT ); Tue, 19 Oct 2021 05:25:25 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E3238ED1; Tue, 19 Oct 2021 02:23:12 -0700 (PDT) Received: from bogus (unknown [10.57.25.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8F9CD3F73D; Tue, 19 Oct 2021 02:23:11 -0700 (PDT) Date: Tue, 19 Oct 2021 10:23:08 +0100 From: Sudeep Holla To: Mianhan Liu Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Sudeep Holla , linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] drivers/base/arch_topology.c: remove superfluous header Message-ID: <20211019092308.aldow6jmtx4jffb5@bogus> References: <20210928193138.24192-1-liumh1@shanghaitech.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210928193138.24192-1-liumh1@shanghaitech.edu.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 03:31:38AM +0800, Mianhan Liu wrote: > arch_topology.c hasn't use any macro or function declared in linux/percpu.h, > linux/smp.h and linux/string.h. > Thus, these files can be removed from arch_topology.c safely without > affecting the compilation of the drivers/base/ module > > Signed-off-by: Mianhan Liu > > --- > drivers/base/arch_topology.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c > index 434076659..92200873b 100644 > --- a/drivers/base/arch_topology.c > +++ b/drivers/base/arch_topology.c > @@ -12,15 +12,12 @@ > #include > #include > #include > -#include > #include > #include > #include > #include > -#include Don't you need linux/percpu-defs.h for DEFINE_PER_CPU then ? -- Regards, Sudeep