aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel/irq_remapping.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2022-11-13 21:21:15 +0000
committerThomas Gleixner <[email protected]>2022-11-17 12:58:32 +0000
commite5dfd093eca01a5d8d967f959a2372d7d82eb59c (patch)
treea9e32f5541221acadf6586b2a18da8b637e5f41e /drivers/iommu/intel/irq_remapping.c
parentLinux 6.1-rc5 (diff)
downloadkernel-e5dfd093eca01a5d8d967f959a2372d7d82eb59c.tar.gz
kernel-e5dfd093eca01a5d8d967f959a2372d7d82eb59c.zip
clocksource/drivers/hyper-v: Include asm/hyperv-tlfs.h not asm/mshyperv.h
clocksource/hyperv_timer.h is included into the VDSO build. It includes asm/mshyperv.h which in turn includes the world and some more. This worked so far by chance, but any subtle change in the include chain results in a build breakage because VDSO builds are building user space libraries. Include asm/hyperv-tlfs.h instead which contains everything what the VDSO build needs except the hv_get_raw_timer() define. Move this define into a separate header file, which contains the prerequisites (msr.h) and is included by clocksource/hyperv_timer.h. Fixup drivers/hv/vmbus_drv.c which relies on the indirect include of asm/mshyperv.h. With that the VDSO build only pulls in the minimum requirements. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/87fsemtut0.ffs@tglx
Diffstat (limited to 'drivers/iommu/intel/irq_remapping.c')
0 files changed, 0 insertions, 0 deletions