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: 151154716
Bug: 153490586
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I35930dd52d98817831d812f35560a2605804a553
(cherry picked from commit 9c406803119f6f1a86fe2d693e5dbe1e849c9d42)
Signed-off-by: Will McVicker <willmcvicker@google.com>
[willmcvicker: updated ARM64_NCAPS value to patch current range]
This commit is contained in:
Greg Kroah-Hartman
2020-04-08 00:55:32 -07:00
committed by Will McVicker
parent 7f3e23b3d8
commit ba200d39ad

View File

@@ -54,6 +54,7 @@
#define ARM64_WORKAROUND_1463225 33
#define ARM64_SSBS 34
#define ARM64_NCAPS 35
/* kabi: reserve 35 - 62 for future cpu capabilities */
#define ARM64_NCAPS 62
#endif /* __ASM_CPUCAPS_H */