From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993308AbcBTAHH (ORCPT ); Fri, 19 Feb 2016 19:07:07 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:35603 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1948035AbcBTAHF (ORCPT ); Fri, 19 Feb 2016 19:07:05 -0500 Subject: Re: [PATCH] arm64: remove redundant preempt.h To: will.deacon@arm.com, catalin.marinas@arm.com References: <1455299803-317-1-git-send-email-yang.shi@linaro.org> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org From: "Shi, Yang" Message-ID: <56C7AE26.1060407@linaro.org> Date: Fri, 19 Feb 2016 16:07:02 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1455299803-317-1-git-send-email-yang.shi@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will & Catalin, Any comment on this one? Thanks, Yang On 2/12/2016 9:56 AM, Yang Shi wrote: > preempt.h has been included by sched.h, so it is not necessary to include > both, just keep sched.h. > > Signed-off-by: Yang Shi > --- > Happened to find this when checking preempt.h include for another patch review. > Build test is passed with and without CONFIG_PREEMPT enabled. > > arch/arm64/kernel/cpuinfo.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c > index 212ae63..e2b37ff 100644 > --- a/arch/arm64/kernel/cpuinfo.c > +++ b/arch/arm64/kernel/cpuinfo.c > @@ -25,7 +25,6 @@ > #include > #include > #include > -#include > #include > #include > #include >