Skip to content
Commit 55e544e1 authored by Nischala Yelchuri's avatar Nischala Yelchuri Committed by Wei Liu
Browse files

x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg



Several places in code for Hyper-V reference the
per-CPU variable hyperv_pcpu_input_arg. Older code uses a multi-line
sequence to reference the variable, and usually includes a cast.
Newer code does a much simpler direct assignment. The latter is
preferable as the complexity of the older code is unnecessary.

Update older code to use the simpler direct assignment.

Signed-off-by: default avatarNischala Yelchuri <niyelchu@linux.microsoft.com>
Link: https://lore.kernel.org/r/1687286438-9421-1-git-send-email-niyelchu@linux.microsoft.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent a6fe0438
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment