diff options
author | Saurabh Sengar <ssengar@linux.microsoft.com> | 2023-04-11 07:55:30 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2023-04-18 19:29:52 +0200 |
commit | 0a7a00580a4fad9a6cd28c2d825e0e5ae917e59e (patch) | |
tree | d4d330f306c930c5a44efb10692e5f340b48d2bd /arch/x86/kernel/cpu/mshyperv.c | |
parent | x86/hyperv: Add VTL specific structs and hypercalls (diff) | |
download | linux-0a7a00580a4fad9a6cd28c2d825e0e5ae917e59e.tar.xz linux-0a7a00580a4fad9a6cd28c2d825e0e5ae917e59e.zip |
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>
Diffstat (limited to 'arch/x86/kernel/cpu/mshyperv.c')
-rw-r--r-- | arch/x86/kernel/cpu/mshyperv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index ac630ecde795..c8a0e70cc484 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c @@ -248,11 +248,6 @@ static uint32_t __init ms_hyperv_platform(void) return HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS; } -static unsigned char hv_get_nmi_reason(void) -{ - return 0; -} - #ifdef CONFIG_X86_LOCAL_APIC /* * Prior to WS2016 Debug-VM sends NMIs to all CPUs which makes |