From a6b8e739729a2a6a5d3aa9d3b00d020fc2d69d8b Mon Sep 17 00:00:00 2001 From: Mukesh Ojha Date: Thu, 1 Apr 2021 17:55:19 +0530 Subject: [PATCH] ANDROID: GKI: arm64: reserve space in cpu_hwcaps and cpu_hwcap_keys arrays Since cpu_hwcaps and cpu_hwcap_keys are exported symbols, reserve space in them for any future cpu capabilities or erratas. Bug: 183169515 Change-Id: I85ebab5ee0eaeabaa2f2856aaae8730c77b16177 Signed-off-by: Mukesh Ojha --- arch/arm64/include/asm/cpucaps.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/cpucaps.h b/arch/arm64/include/asm/cpucaps.h index 572183933ddd..10a2d914d4ca 100644 --- a/arch/arm64/include/asm/cpucaps.h +++ b/arch/arm64/include/asm/cpucaps.h @@ -70,6 +70,7 @@ #define ARM64_HAS_LDAPR 59 #define ARM64_KVM_PROTECTED_MODE 60 -#define ARM64_NCAPS 61 +/* kabi: reserve 62 - 76 for future cpu capabilities */ +#define ARM64_NCAPS 76 #endif /* __ASM_CPUCAPS_H */