Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Drivers: hv: Export some functions for use by root partition module

hv_get_hypervisor_version(), hv_call_deposit_pages(), and
hv_call_create_vp(), are all needed in-module with CONFIG_MSHV_ROOT=m.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Stanislav Kinsburskii <skinsburskii@microsoft.linux.com>
Reviewed-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Reviewed-by: Tianyu Lan <tiala@microsoft.com>
Link: https://lore.kernel.org/r/1741980536-3865-7-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1741980536-3865-7-git-send-email-nunodasneves@linux.microsoft.com>

authored by

Nuno Das Neves and committed by
Wei Liu
21050f61 4ee23f3a

+4 -1
+1
arch/arm64/hyperv/mshyperv.c
··· 26 26 27 27 return 0; 28 28 } 29 + EXPORT_SYMBOL_GPL(hv_get_hypervisor_version); 29 30 30 31 static int __init hyperv_init(void) 31 32 {
+1
arch/x86/kernel/cpu/mshyperv.c
··· 420 420 421 421 return 0; 422 422 } 423 + EXPORT_SYMBOL_GPL(hv_get_hypervisor_version); 423 424 424 425 static void __init ms_hyperv_init_platform(void) 425 426 {
+2 -1
drivers/hv/hv_proc.c
··· 107 107 kfree(counts); 108 108 return ret; 109 109 } 110 + EXPORT_SYMBOL_GPL(hv_call_deposit_pages); 110 111 111 112 int hv_call_add_logical_proc(int node, u32 lp_index, u32 apic_id) 112 113 { ··· 192 191 193 192 return ret; 194 193 } 195 - 194 + EXPORT_SYMBOL_GPL(hv_call_create_vp);