]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hyperv: Clean up unnecessary #includes
authorNuno Das Neves <nunodasneves@linux.microsoft.com>
Mon, 25 Nov 2024 23:24:41 +0000 (15:24 -0800)
committerWei Liu <wei.liu@kernel.org>
Wed, 8 Jan 2025 08:18:27 +0000 (08:18 +0000)
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>

arch/arm64/hyperv/hv_core.c
arch/x86/hyperv/hv_apic.c
arch/x86/hyperv/hv_init.c
arch/x86/hyperv/hv_proc.c
arch/x86/hyperv/ivm.c
arch/x86/hyperv/mmu.c
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/mshyperv.h
arch/x86/mm/pat/set_memory.c

index f1ebc025e1df765af9b02d77cbf415273d121793..7a746a5a6b42fb9e8e6389a01189d231b2dd28d3 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/types.h>
 #include <linux/export.h>
 #include <linux/mm.h>
-#include <linux/hyperv.h>
 #include <linux/arm-smccc.h>
 #include <linux/module.h>
 #include <asm-generic/bug.h>
index 0569f579338b516b22fe447248ae1ae4e4880a03..f022d5f64fb6bc698cac5900d3404614d8e5548f 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/vmalloc.h>
 #include <linux/mm.h>
 #include <linux/clockchips.h>
-#include <linux/hyperv.h>
 #include <linux/slab.h>
 #include <linux/cpuhotplug.h>
 #include <asm/hypervisor.h>
index 95eada2994e150a5c952bb0f773d3d9f6d814aae..3562826915f94d3170f5c43168bce7862c2fedf8 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/version.h>
 #include <linux/vmalloc.h>
 #include <linux/mm.h>
-#include <linux/hyperv.h>
 #include <linux/slab.h>
 #include <linux/kernel.h>
 #include <linux/cpuhotplug.h>
index 3fa1f2ee7b0d0630df03675bddfdad0c40ad411d..b74c06c04ff1d21aa6351bbb12c5eb88ac07c24b 100644 (file)
@@ -3,7 +3,6 @@
 #include <linux/vmalloc.h>
 #include <linux/mm.h>
 #include <linux/clockchips.h>
-#include <linux/hyperv.h>
 #include <linux/slab.h>
 #include <linux/cpuhotplug.h>
 #include <linux/minmax.h>
index 60fc3ed728304c547efc9d67c3c89bf5ebe0b628..b56d706127346a0f2598fe28bf858b9ed09bf5ff 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <linux/bitfield.h>
-#include <linux/hyperv.h>
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <asm/svm.h>
index 1cc113200ff55879186e7fcf0eea7c0ac07a494b..cc8c3bd0e7c297ac7a3bc05dc72acf6149a8ca4a 100644 (file)
@@ -1,6 +1,5 @@
 #define pr_fmt(fmt)  "Hyper-V: " fmt
 
-#include <linux/hyperv.h>
 #include <linux/log2.h>
 #include <linux/slab.h>
 #include <linux/types.h>
index e159e44a6a1b61dba500b5f4709031c93828794d..46f354b124889ea10bd9d23fe3ae5f23663477d0 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/pvclock_gtod.h>
 #include <linux/clocksource.h>
 #include <linux/irqbypass.h>
-#include <linux/hyperv.h>
 #include <linux/kfifo.h>
 #include <linux/sched/vhost_task.h>
 
index 5f0bc6a6d02556bd9a6c8173915c468ce8340518..6f866fb9ffee788007d912a634b2767539a5f301 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/hyperv-tlfs.h>
 #include <asm/nospec-branch.h>
 #include <asm/paravirt.h>
-#include <asm/mshyperv.h>
 
 /*
  * Hyper-V always provides a single IO-APIC at this MMIO address.
index 95bc50a8541c6a8154a3d880251c86115647c4e9..ef4514d64c0524e5854fa106e3f37ff1e1ba10a2 100644 (file)
@@ -32,8 +32,6 @@
 #include <asm/pgalloc.h>
 #include <asm/proto.h>
 #include <asm/memtype.h>
-#include <asm/hyperv-tlfs.h>
-#include <asm/mshyperv.h>
 
 #include "../mm_internal.h"