Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba200d39 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Will McVicker
Browse files

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: default avatarMian Yousaf Kaukab <yousaf.kaukab@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I35930dd52d98817831d812f35560a2605804a553
(cherry picked from commit 9c406803119f6f1a86fe2d693e5dbe1e849c9d42)
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
[willmcvicker: updated ARM64_NCAPS value to patch current range]
parent 7f3e23b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 */