arch/loongarch/kvm/Makefile | 2 -- 1 file changed, 2 deletions(-)
arch/loongarch/kvm/ includes local headers with the double-quote form
(#include "..."). Also, TRACE_INCLUDE_PATH in arch/loongarch/kvm/trace.h
is relative to include/trace/.
Hence, the local header search path is unneeded.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
arch/loongarch/kvm/Makefile | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/loongarch/kvm/Makefile b/arch/loongarch/kvm/Makefile
index 3a01292f71cc..f4c8e35c216a 100644
--- a/arch/loongarch/kvm/Makefile
+++ b/arch/loongarch/kvm/Makefile
@@ -3,8 +3,6 @@
# Makefile for LoongArch KVM support
#
-ccflags-y += -I $(src)
-
include $(srctree)/virt/kvm/Makefile.kvm
obj-$(CONFIG_KVM) += kvm.o
--
2.43.0
On 2025/2/10 下午6:21, Masahiro Yamada wrote: > arch/loongarch/kvm/ includes local headers with the double-quote form > (#include "..."). Also, TRACE_INCLUDE_PATH in arch/loongarch/kvm/trace.h > is relative to include/trace/. > > Hence, the local header search path is unneeded. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > --- > > arch/loongarch/kvm/Makefile | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/loongarch/kvm/Makefile b/arch/loongarch/kvm/Makefile > index 3a01292f71cc..f4c8e35c216a 100644 > --- a/arch/loongarch/kvm/Makefile > +++ b/arch/loongarch/kvm/Makefile > @@ -3,8 +3,6 @@ > # Makefile for LoongArch KVM support > # > > -ccflags-y += -I $(src) > - > include $(srctree)/virt/kvm/Makefile.kvm > > obj-$(CONFIG_KVM) += kvm.o > Reviewed-by: Bibo Mao <maobibo@loongson.cn>
© 2016 - 2025 Red Hat, Inc.