x86/hyperv: Make hv_get_nmi_reason public
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Tue, 11 Apr 2023 05:55:30 +0000 (22:55 -0700)
committerWei Liu <wei.liu@kernel.org>
Tue, 18 Apr 2023 17:29:52 +0000 (17:29 +0000)
commit0a7a00580a4fad9a6cd28c2d825e0e5ae917e59e
treed4d330f306c930c5a44efb10692e5f340b48d2bd
parentc26e0527aaf84a34b4774d80c9a9baa65f4d77f2
x86/hyperv: Make hv_get_nmi_reason public

Move hv_get_nmi_reason to .h file so it can be used in other
modules as well.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1681192532-15460-4-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/include/asm/mshyperv.h
arch/x86/kernel/cpu/mshyperv.c