Blob Blame History Raw
From ec9addc74beaf0632a29b0e0be8135c937ac15d7 Mon Sep 17 00:00:00 2001
From: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
Date: Wed, 11 Apr 2018 14:02:08 +0200
Subject: [PATCH] kabi: arm64: reserve space in cpu_hwcaps and cpu_hwcap_keys
 arrays

Patch-mainline: Never, applied to keep kabi preserved
References: bsc#1089086

Since cpu_hwcaps and cpu_hwcap_keys are exported symbols, reserve
space in them for any future cpu capabilities or erratas.

Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
---
 arch/arm64/include/asm/cpucaps.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/arm64/include/asm/cpucaps.h
+++ b/arch/arm64/include/asm/cpucaps.h
@@ -48,6 +48,7 @@
 #define ARM64_SSBD				27
 #define ARM64_HAS_CNP				28
 
-#define ARM64_NCAPS				29
+/* kabi: reserve 29 - 40 for future cpu capabilities */
+#define ARM64_NCAPS				40
 
 #endif /* __ASM_CPUCAPS_H */