selftests/kcmp: Don't include kernel headers
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Dec 2014 05:52:07 +0000 (16:52 +1100)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 2 Dec 2014 20:53:15 +0000 (13:53 -0700)
The kcmp test mucks with the include path to bring in the kernel
headers, and x86 headers too for reasons that are not clear.

Now that kcmp.h is exported none of that should be necessary.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/kcmp/Makefile

index 8aabd82db9e4a3028c6f8b594304e8896f427c77..4f00c0524501f74e3a04fff03133ea29ef6f6034 100644 (file)
@@ -8,11 +8,7 @@ ifeq ($(ARCH),x86_64)
        ARCH := x86
        CFLAGS := -DCONFIG_X86_64 -D__x86_64__
 endif
-
-CFLAGS += -I../../../../arch/x86/include/generated/
-CFLAGS += -I../../../../include/
 CFLAGS += -I../../../../usr/include/
-CFLAGS += -I../../../../arch/x86/include/
 
 all:
 ifeq ($(ARCH),x86)