2024-03-14 06:38:49

by Jinjie Ruan

[permalink] [raw]
Subject: [PATCH] arm64: Remove unnecessary irqflags alternative.h include

Since commit 20af807d806d ("arm64: Avoid cpus_have_const_cap() for
ARM64_HAS_GIC_PRIO_MASKING"), the alternative.h include is not used,
so remove it.

Fixes: 20af807d806d ("arm64: Avoid cpus_have_const_cap() for ARM64_HAS_GIC_PRIO_MASKING")
Signed-off-by: Jinjie Ruan <[email protected]>
---
arch/arm64/include/asm/irqflags.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arm64/include/asm/irqflags.h b/arch/arm64/include/asm/irqflags.h
index 0a7186a93882..d4d7451c2c12 100644
--- a/arch/arm64/include/asm/irqflags.h
+++ b/arch/arm64/include/asm/irqflags.h
@@ -5,7 +5,6 @@
#ifndef __ASM_IRQFLAGS_H
#define __ASM_IRQFLAGS_H

-#include <asm/alternative.h>
#include <asm/barrier.h>
#include <asm/ptrace.h>
#include <asm/sysreg.h>
--
2.34.1



2024-04-12 16:07:19

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] arm64: Remove unnecessary irqflags alternative.h include

On Thu, 14 Mar 2024 14:38:19 +0800, Jinjie Ruan wrote:
> Since commit 20af807d806d ("arm64: Avoid cpus_have_const_cap() for
> ARM64_HAS_GIC_PRIO_MASKING"), the alternative.h include is not used,
> so remove it.
>
>

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: Remove unnecessary irqflags alternative.h include
https://git.kernel.org/arm64/c/98631c4904bf

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev