x86/hyperv: Move hv_do_rep_hypercall to asm-generic
authorJoseph Salisbury <joseph.salisbury@microsoft.com>
Sat, 17 Apr 2021 00:43:02 +0000 (17:43 -0700)
committerWei Liu <wei.liu@kernel.org>
Wed, 21 Apr 2021 09:49:19 +0000 (09:49 +0000)
commit6523592cee4650c6aa997d69cd0045a01e07a1ef
tree2b0317101dee865a77ea6e47a52538de4df9b106
parentaa5b7d11c7cb87c266d705b237368985e7171958
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: Joseph Salisbury <joseph.salisbury@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1618620183-9967-1-git-send-email-joseph.salisbury@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/include/asm/mshyperv.h
include/asm-generic/mshyperv.h