Drivers: hv: Add arch independent default functions for some Hyper-V handlers
authorMichael Kelley <mikelley@microsoft.com>
Wed, 14 Jul 2021 18:34:46 +0000 (11:34 -0700)
committerWei Liu <wei.liu@kernel.org>
Thu, 15 Jul 2021 12:59:45 +0000 (12:59 +0000)
commit9d7cf2c9675838c12cd5cf5a4ebe2ba41bd78a44
treee00c6e6187ddf5fcca3cc30d94e540dc8a0d348b
parentafca4d95dd7d7936d46a0ff02169cc40f534a6a3
Drivers: hv: Add arch independent default functions for some Hyper-V handlers

Architecture independent Hyper-V code calls various arch-specific handlers
when needed.  To aid in supporting multiple architectures, provide weak
defaults that can be overridden by arch-specific implementations where
appropriate.  But when arch-specific overrides aren't needed or haven't
been implemented yet for a particular architecture, these stubs reduce
the amount of clutter under arch/.

No functional change.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1626287687-2045-3-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/hyperv/hv_init.c
arch/x86/kernel/cpu/mshyperv.c
drivers/hv/hv_common.c