]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Jan 2019 07:32:46 +0000 (16:32 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2019 18:12:37 +0000 (19:12 +0100)
commit8d1296ea80d633510976a9086f6dcedbbf86df4e
treecf7edbe7a691111e86b5fcaea9f08ea64f3026cb
parentf0f113c3ec8f6256385466eae037f0f9d9863dd5
KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths

The header search path -I. in kernel Makefiles is very suspicious;
it allows the compiler to search for headers in the top of $(srctree),
where obviously no header file exists.

The reason of having -I. here is to make the incorrectly set
TRACE_INCLUDE_PATH working.

As the comment block in include/trace/define_trace.h says,
TRACE_INCLUDE_PATH should be a relative path to the define_trace.h

Fix the TRACE_INCLUDE_PATH, and remove the iffy include paths.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Makefile
arch/x86/kvm/trace.h