Skip to content
Commit 6523592c authored by Joseph Salisbury's avatar Joseph Salisbury Committed by Wei Liu
Browse files

x86/hyperv: Move hv_do_rep_hypercall to asm-generic



This patch makes no functional changes.  It simply moves hv_do_rep_hypercall()
out of arch/x86/include/asm/mshyperv.h and into asm-generic/mshyperv.h

hv_do_rep_hypercall() is architecture independent, so it makes sense that it
should be in the architecture independent mshyperv.h, not in the x86-specific
mshyperv.h.

This is done in preperation for a follow up patch which creates a consistent
pattern for checking Hyper-V hypercall status.

Signed-off-by: default avatarJoseph Salisbury <joseph.salisbury@microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1618620183-9967-1-git-send-email-joseph.salisbury@linux.microsoft.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent aa5b7d11
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment