commit | a732fafc28bc1da5a61b4411b84b170799bfc6fa | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Wed Nov 16 14:28:56 2022 +0000 |
committer | Fuad Tabba <tabba@google.com> | Mon Jun 26 12:27:59 2023 +0100 |
tree | ad7c81681325ceeb8c071b06aa0f97e0677d520d | |
parent | 6f5979a2eabd13e1d9c6e32c64496305642f29e3 [diff] |
KVM: arm64: Fix sparse __percpu warning Force the cast to silence the warning. We don't have a proper way to dynamically allocate memory at EL2, and hence no proper way to dynamically allocate percpu fields. Instead, we rely on memory donated from the host and index it by hyp_smp_processor_id(). Reported-by: Todd Kjos <tkjos@google.com> Change-Id: Ib8b0565ba9550b3f6d8932b24f8f9f69de9168d5 Signed-off-by: Fuad Tabba <tabba@google.com>