OSDN Git Service

ANDROID: GKI: arm64: reserve space in cpu_hwcaps and cpu_hwcap_keys arrays
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 8 Apr 2020 07:55:32 +0000 (00:55 -0700)
committerWill McVicker <willmcvicker@google.com>
Wed, 8 Apr 2020 21:34:10 +0000 (14:34 -0700)
commitba200d39adc830d2b71adcde65058593821169d8
treef1a95a37eae70e880107b227d659fcfaf2abd9c2
parent7f3e23b3d8d57702d55c6d20e978da33b38ea546
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]
arch/arm64/include/asm/cpucaps.h