From: Mathieu Desnoyers It is conventional and reasonable to require that any code which uses this mechanism must include its header file. Signed-off-by: Mathieu Desnoyers Signed-off-by: Andrew Morton --- Makefile | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN Makefile~linux-kernel-markers-kconfig-menus-fix-3 Makefile --- a/Makefile~linux-kernel-markers-kconfig-menus-fix-3 +++ a/Makefile @@ -308,9 +308,7 @@ AFLAGS_KERNEL = # Needed to be compatible with the O= option LINUXINCLUDE := -Iinclude \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ - -include include/linux/autoconf.h \ - -include \ - $(if $(KBUILD_SRC),$(srctree)/)include/linux/marker.h + -include include/linux/autoconf.h CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE) _