Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hyperv: Clean up unnecessary #includes

Remove includes of linux/hyperv.h, mshyperv.h, and hyperv-tlfs.h where
they are not used.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Link: https://lore.kernel.org/r/1732577084-2122-3-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1732577084-2122-3-git-send-email-nunodasneves@linux.microsoft.com>

authored by

Nuno Das Neves and committed by
Wei Liu
a3e72548 9696d9ae

-10
-1
arch/arm64/hyperv/hv_core.c
··· 11 11 #include <linux/types.h> 12 12 #include <linux/export.h> 13 13 #include <linux/mm.h> 14 - #include <linux/hyperv.h> 15 14 #include <linux/arm-smccc.h> 16 15 #include <linux/module.h> 17 16 #include <asm-generic/bug.h>
-1
arch/x86/hyperv/hv_apic.c
··· 23 23 #include <linux/vmalloc.h> 24 24 #include <linux/mm.h> 25 25 #include <linux/clockchips.h> 26 - #include <linux/hyperv.h> 27 26 #include <linux/slab.h> 28 27 #include <linux/cpuhotplug.h> 29 28 #include <asm/hypervisor.h>
-1
arch/x86/hyperv/hv_init.c
··· 27 27 #include <linux/version.h> 28 28 #include <linux/vmalloc.h> 29 29 #include <linux/mm.h> 30 - #include <linux/hyperv.h> 31 30 #include <linux/slab.h> 32 31 #include <linux/kernel.h> 33 32 #include <linux/cpuhotplug.h>
-1
arch/x86/hyperv/hv_proc.c
··· 3 3 #include <linux/vmalloc.h> 4 4 #include <linux/mm.h> 5 5 #include <linux/clockchips.h> 6 - #include <linux/hyperv.h> 7 6 #include <linux/slab.h> 8 7 #include <linux/cpuhotplug.h> 9 8 #include <linux/minmax.h>
-1
arch/x86/hyperv/ivm.c
··· 7 7 */ 8 8 9 9 #include <linux/bitfield.h> 10 - #include <linux/hyperv.h> 11 10 #include <linux/types.h> 12 11 #include <linux/slab.h> 13 12 #include <asm/svm.h>
-1
arch/x86/hyperv/mmu.c
··· 1 1 #define pr_fmt(fmt) "Hyper-V: " fmt 2 2 3 - #include <linux/hyperv.h> 4 3 #include <linux/log2.h> 5 4 #include <linux/slab.h> 6 5 #include <linux/types.h>
-1
arch/x86/include/asm/kvm_host.h
··· 24 24 #include <linux/pvclock_gtod.h> 25 25 #include <linux/clocksource.h> 26 26 #include <linux/irqbypass.h> 27 - #include <linux/hyperv.h> 28 27 #include <linux/kfifo.h> 29 28 #include <linux/sched/vhost_task.h> 30 29
-1
arch/x86/include/asm/mshyperv.h
··· 9 9 #include <asm/hyperv-tlfs.h> 10 10 #include <asm/nospec-branch.h> 11 11 #include <asm/paravirt.h> 12 - #include <asm/mshyperv.h> 13 12 14 13 /* 15 14 * Hyper-V always provides a single IO-APIC at this MMIO address.
-2
arch/x86/mm/pat/set_memory.c
··· 32 32 #include <asm/pgalloc.h> 33 33 #include <asm/proto.h> 34 34 #include <asm/memtype.h> 35 - #include <asm/hyperv-tlfs.h> 36 - #include <asm/mshyperv.h> 37 35 38 36 #include "../mm_internal.h" 39 37