diff options
| author | Nuno Das Neves <nunodasneves@linux.microsoft.com> | 2025-02-07 22:03:22 +0300 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2025-02-14 02:38:47 +0300 |
| commit | 0222eb30a3572cc9c4e2f0a3bb37f8f71089f2b6 (patch) | |
| tree | b8dd4602beca8bb179e3910c159433915653c585 /include | |
| parent | e96204e5e96ea3cacb5686e06ed29977c023254f (diff) | |
| download | linux-0222eb30a3572cc9c4e2f0a3bb37f8f71089f2b6.tar.xz | |
hyperv: Move arch/x86/hyperv/hv_proc.c to drivers/hv
These helpers are not specific to x86_64 and will be needed by common code.
Remove some unnecessary #includes.
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Link: https://lore.kernel.org/r/1738955002-20821-3-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1738955002-20821-3-git-send-email-nunodasneves@linux.microsoft.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/mshyperv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h index febeddf6cd8a..7adc10a4fa3e 100644 --- a/include/asm-generic/mshyperv.h +++ b/include/asm-generic/mshyperv.h @@ -218,6 +218,10 @@ void *hv_alloc_hyperv_page(void); void *hv_alloc_hyperv_zeroed_page(void); void hv_free_hyperv_page(void *addr); +int hv_call_deposit_pages(int node, u64 partition_id, u32 num_pages); +int hv_call_add_logical_proc(int node, u32 lp_index, u32 acpi_id); +int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags); + /** * hv_cpu_number_to_vp_number() - Map CPU to VP. * @cpu_number: CPU number in Linux terms |
