From patchwork Fri May 3 17:18:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Puranjay Mohan X-Patchwork-Id: 13653157 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 53F7CC4345F for ; Fri, 3 May 2024 17:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7vceydTsefWTvIuDTyJndYc72zuxCBeDmaQsLyDb4Mg=; b=kSoVYQM11mxgs0 21YvmeAawEkta9MM7rgzxbZWgd2EKvwPKEDh6Q8I6GREjttpXqdk5Tv+R7BUegWG2H20EqDTglSn4 JS9SJCy+mzRapr8Xqlmd60FggcxuXMg5Y1SCb4gMDCGVBAH52TS9h4G4rG60oiR6BrPJ2De0nnz1D ENR87vbZiCWQggsSRCjhLOC2EjKp56vMUg1KkdezZpw9X6ZFR0rqEncTKM40PNrC4LZXx+5ljR7WZ jAxoDrNds9OEETnLvR/fZjLo4wjC7ooT2jbq8NyaL93kD8Y/EZulIIyEkz/079MbDJ6IkdqghEO7C DL6z240Tct9T0An0Yadw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2wYt-0000000HMSc-1RLZ; Fri, 03 May 2024 17:19:07 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2wYq-0000000HMQC-1qev for linux-arm-kernel@lists.infradead.org; Fri, 03 May 2024 17:19:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 37378CE19D2; Fri, 3 May 2024 17:19:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 257BCC116B1; Fri, 3 May 2024 17:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714756741; bh=sxFjeHo/U9d6yJ4gu/S8oCYHW6M/QMHpy5fuSlTg3o8=; h=From:To:Cc:Subject:Date:From; b=hIRN+DUFCywNEszWU9lwdZU2kY1GdPQ/vI695iOCohOzJou/FEySpToU/05dvz1P0 ZGNOaxMi/LHxI8UwG6/irrNE79FoDmsE6N81uZG/60U+ISuXKU4vUNVodtvYFA+4i0 dT1+Y3XUIr/2WwBj57H5tUUL9bgXm3QkzWI17B7W6w9mrZjvSPoXA4BnaXNZOMJiIQ NDrAUyHfKGMaCnvapDfx5CuyznN2IiuyDyL2YFAwhaVzhlCKXXh3prw7StOm4ApR6A n9LAHQYNU74Hb1IfUBy6AZlV7JSGaMh8FctgeyyunHhpfzdXJU7/TNdWUR/5yceNDd DyXx3tDu99nJQ== From: Puranjay Mohan To: Catalin Marinas , Will Deacon , Sumit Garg , Stephen Boyd , Douglas Anderson , "Peter Zijlstra (Intel)" , Thomas Gleixner , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Cc: puranjay12@gmail.com Subject: [PATCH v3 1/2] arm64/arch_timer: include Date: Fri, 3 May 2024 17:18:46 +0000 Message-Id: <20240503171847.68267-1-puranjay@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240503_101904_686325_05A8CA7F X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org arch_timer.h includes linux/smp.h since the commit: 6acc71ccac7187fc ("arm64: arch_timer: Allows a CPU-specific erratum to only affect a subset of CPUs") It was included to use DEFINE_PER_CPU(), etc. But It should have included rather than . It worked because smp.h includes percpu.h. The next commit will remove percpu.h from smp.h and it will break this usage. Explicitly include percpu.h and remove smp.h Signed-off-by: Puranjay Mohan Acked-by: Mark Rutland Reviewed-by: Stephen Boyd --- arch/arm64/include/asm/arch_timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/arch_timer.h b/arch/arm64/include/asm/arch_timer.h index 934c658ee947..f5794d50f51d 100644 --- a/arch/arm64/include/asm/arch_timer.h +++ b/arch/arm64/include/asm/arch_timer.h @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include