Commit 860c5fbc authored by Mostafa Saleh's avatar Mostafa Saleh
Browse files

ANDROID: KVM: arm64: Fix build issue without CONFIG_ARM64_LSE_ATOMICS



__LSE_PREAMBLE is only defined with CONFIG_ARM64_LSE_ATOMICS, which
defaults to CONFIG_ARM64_USE_LSE_ATOMICS, without it the build fails.

__lse_ll_sc_body is already aware of CONFIG_ARM64_LSE_ATOMICS and
doesn't use __lse_* if not enabled, so just guard the definition of
the function.

Bug: 278749606

Change-Id: I9e2bed920585f79c11ca26e29d2ea748931ca2b9
Signed-off-by: default avatarMostafa Saleh <smostafa@google.com>
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
parent 6a927978
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment