diff options
author | Nischala Yelchuri | 2023-06-20 11:40:38 -0700 |
---|---|---|
committer | Wei Liu | 2023-06-28 17:53:25 +0000 |
commit | 55e544e1a922d272b62ec576a3de92329f838ce9 (patch) | |
tree | 82c8e08726a5bc79d9120af9d84a16cdbbb43d90 /Documentation/infiniband | |
parent | a6fe043880820981f6e4918240f967ea79bb063e (diff) |
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: Nischala Yelchuri <niyelchu@linux.microsoft.com>
Link: https://lore.kernel.org/r/1687286438-9421-1-git-send-email-niyelchu@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions