[PATCH] arm64: Use proper include variant
Mark Rutland
mark.rutland at arm.com
Thu Sep 24 05:54:54 PDT 2026
On Thu, Sep 24, 2026 at 12:57:18PM +0200, Steffen Eiden wrote:
> Use <> for including the sysreg header as it is not discoverable from
> the current directory.
>
> Acked-by: Marc Zyngier <maz at kernel.org>
> Signed-off-by: Steffen Eiden <seiden at linux.ibm.com>
Acked-by: Mark Rutland <mark.rutland at arm.com>
I'm surprised that happens to work today, but evidently it does.
Mark.
> ---
> This is just a spin off from [1]. There is no in-series dependency for
> this patch and it fixes a minor issue. Using " for the include file does
> not break anything (now) but it is not right as well. For [1] we need
> this to correctly transform the includes to a new path for the
> s390-generated version of this file.
>
> Steffen
>
> [1] https://lore.kernel.org/all/20260918133107.1042730-1-seiden@linux.ibm.com/
> ---
> arch/arm64/include/asm/sysreg.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
> index 7aa08d59d494..4bfdac9401bd 100644
> --- a/arch/arm64/include/asm/sysreg.h
> +++ b/arch/arm64/include/asm/sysreg.h
> @@ -173,7 +173,7 @@
> * come from here. The header relies on the definition of sys_reg()
> * earlier in this file.
> */
> -#include "asm/sysreg-defs.h"
> +#include <asm/sysreg-defs.h>
>
> /*
> * System registers, organised loosely by encoding but grouped together
>
>
>
More information about the linux-arm-kernel
mailing list