Drivers: hv: vmbus: Break out ISA independent parts of mshyperv.h
Subsystems (4)
PATCH v2 1/1 Drivers: hv: vmbus: Break out ISA independent parts of mshyperv.h
Break out parts of mshyperv.h that are ISA independent into a separate file in include/asm-generic. This move facilitates ARM64 code reusing these definitions and avoids code duplication. No functionality or behavior is changed.
---
Changes in v2:
* Removed unneeded #includes in asm-generic/mshyperv.h; added two #includes that are needed. [Vitaly Kuznetsov]
---
MAINTAINERS | 1 + arch/x86/include/asm/mshyperv.h | 147 +------------------------------- include/asm-generic/mshyperv.h | 180 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 185 insertions(+), 143 deletions(-) create mode 100644 include/asm-generic/mshyperv.h
MAINTAINERS +1 -0
@@ -7308,6 +7308,7 @@ F: net/vmw_vsock/hyperv_transport.c F: include/clocksource/hyperv_timer.h F: include/linux/hyperv.h F: include/uapi/linux/hyperv.h +F: include/asm-generic/mshyperv.h F: tools/hv/ F: Documentation/ABI/stable/sysfs-bus-vmbus
arch/x86/include/asm/mshyperv.h +4 -143
204 lines not on this page · raw message
include/asm-generic/mshyperv.h new file +180 -0
180 lines not on this page · raw message
Signature · 1 line
1.8.3.1
Sasha Levin
AppliedQuoted 11 lines · Michael Kelley
Break out parts of
mshyperv.hthat are ISA independent into a separate file ininclude/asm-generic. This move facilitates ARM64 code reusing these definitions and avoids code duplication. No functionality or behavior is changed.Signed-off-by Michael Kelley <[email protected]>Reviewed-by Vitaly Kuznetsov <[email protected]>---
Changes in v2:
* Removed unneeded #includes inasm-generic/mshyperv.h; added two #includes that are needed. [Vitaly Kuznetsov]
Queued for hyperv-next, thanks!
--
Thanks,
Sasha