summaryrefslogtreecommitdiff
path: root/arch/x86/hyperv/hv_spinlock.c
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2021-03-03 00:38:14 +0300
committerWei Liu <wei.liu@kernel.org>2021-03-08 20:32:59 +0300
commit5e4e6ddf8d74068fd6bb7922dabcfa2c0f506c39 (patch)
treefb95729b2ed48143414b0465ea75c7eb20f36c7b /arch/x86/hyperv/hv_spinlock.c
parentca48739e59df31d16c27dbcd9ea2ea61d7caa9fb (diff)
downloadlinux-5e4e6ddf8d74068fd6bb7922dabcfa2c0f506c39.tar.xz
x86/hyper-v: Move hv_message_type to architecture neutral module
The definition of enum hv_message_type includes arch neutral and x86/x64-specific values. Ideally there would be a way to put the arch neutral values in an arch neutral module, and the arch specific values in an arch specific module. But C doesn't provide a way to extend enum types. As a compromise, move the entire definition into an arch neutral module, to avoid duplicating the arch neutral values for x86/x64 and for ARM64. No functional change. Signed-off-by: Michael Kelley <mikelley@microsoft.com> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/r/1614721102-2241-3-git-send-email-mikelley@microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/x86/hyperv/hv_spinlock.c')
0 files changed, 0 insertions, 0 deletions