Skip to content

Commit c55a844

Browse files
kelleymhliuw
authored andcommitted
x86/hyperv: Split hyperv-tlfs.h into arch dependent and independent files
In preparation for adding ARM64 support, split hyperv-tlfs.h into architecture dependent and architecture independent files, similar to what has been done with mshyperv.h. Move architecture independent definitions into include/asm-generic/hyperv-tlfs.h. The split will avoid duplicating significant lines of code in the ARM64 version of hyperv-tlfs.h. The split has no functional impact. Some of the common definitions have "X64" in the symbol name. Change these to remove the "X64" in the architecture independent version of hyperv-tlfs.h, but add aliases with the "X64" in the x86 version so that x86 code will continue to compile. A later patch set will change all the references and allow removal of the aliases. Signed-off-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent a8a42d0 commit c55a844

File tree

3 files changed

+479
-423
lines changed

3 files changed

+479
-423
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7883,6 +7883,7 @@ F: drivers/pci/controller/pci-hyperv.c
78837883
F: drivers/scsi/storvsc_drv.c
78847884
F: drivers/uio/uio_hv_generic.c
78857885
F: drivers/video/fbdev/hyperv_fb.c
7886+
F: include/asm-generic/hyperv-tlfs.h
78867887
F: include/asm-generic/mshyperv.h
78877888
F: include/clocksource/hyperv_timer.h
78887889
F: include/linux/hyperv.h

0 commit comments

Comments
 (0)