All pKVM core patches destined for upstream and based on Linux 6.4
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>
2 files changed