ANDROID: turn on VCT access from 32-bit applications
authorMark Salyzyn <salyzyn@google.com>
Thu, 25 Jan 2018 21:43:19 +0000 (13:43 -0800)
committerBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 17:09:54 +0000 (18:09 +0100)
Deal with regression from 7b4edf240be4a86ede06af51caf056fb1e80682e
("clocksource: arch_timer: make virtual counter access configurable")
by selecting ARM_ARCH_TIMER_VCT_ACCESS if COMPAT_VDSO is selected.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 72417836
Change-Id: Ie11498880941977a8014adb8b8a3b07a6ef82e27

arch/arm64/Kconfig

index c7efdb5e5934f1f72914d1cfa60da9a597d23fe7..8251b33cfd1d94acdb25dae15343dd0b6a8a6c66 100644 (file)
@@ -1219,6 +1219,7 @@ config KEYS_COMPAT
 config COMPAT_VDSO
        bool "32-bit vDSO"
        depends on COMPAT
+       select ARM_ARCH_TIMER_VCT_ACCESS
        default n
        help
          Warning: a 32-bit toolchain is necessary to build the vDSO. You