Skip to contentSkip to conversation

Drivers: hv: vmbus: Break out ISA independent parts of mshyperv.h

PATCH Applied Michael Kelley 2 participants 2 messages May 30, 2019 – Jun 6, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
index cf2a5b7..521192d 100644
@@ -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
Applied
#1 lore raw
Quoted 11 lines · Michael Kelley

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]

Queued for hyperv-next, thanks!

--
Thanks,
Sasha