diff options
author | Mark Rutland <mark.rutland@arm.com> | 2023-10-16 11:24:26 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-10-16 12:57:45 +0100 |
commit | 484de08518e43aa14f0d5719a99b19625ac12228 (patch) | |
tree | 5afc86b2c39f87c67e09702dd51ebff1c0cfeebc /arch/arm64/include/asm/cpucaps.h | |
parent | 20f3b8eafe0ba5d3c69d5011a9b07739e9645132 (diff) | |
download | linux-484de08518e43aa14f0d5719a99b19625ac12228.tar.gz linux-484de08518e43aa14f0d5719a99b19625ac12228.tar.bz2 linux-484de08518e43aa14f0d5719a99b19625ac12228.zip |
arm64: Factor out cpucap definitions
For clarity it would be nice to factor cpucap manipulation out of
<asm/cpufeature.h>, and the obvious place would be <asm/cpucap.h>, but
this will clash somewhat with <generated/asm/cpucaps.h>.
Rename <generated/asm/cpucaps.h> to <generated/asm/cpucap-defs.h>,
matching what we do for <generated/asm/sysreg-defs.h>, and introduce a
new <asm/cpucaps.h> which includes the generated header.
Subsequent patches will fill out <asm/cpucaps.h>.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpucaps.h')
-rw-r--r-- | arch/arm64/include/asm/cpucaps.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpucaps.h b/arch/arm64/include/asm/cpucaps.h new file mode 100644 index 000000000000..7333b5bbf448 --- /dev/null +++ b/arch/arm64/include/asm/cpucaps.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_CPUCAPS_H +#define __ASM_CPUCAPS_H + +#include <asm/cpucap-defs.h> + +#endif /* __ASM_CPUCAPS_H */ |