mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
committed by
Will McVicker
parent
7f3e23b3d8
commit
ba200d39ad
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user