From: Andrew Morton In file included from include/linux/kdebug.h:4, from kernel/notifier.c:1: include/asm/kdebug.h:25: error: syntax error before '__die' include/asm/kdebug.h:25: warning: type defaults to 'int' in declaration of '__die' include/asm/kdebug.h:25: warning: data definition has no type or storage class Missing __must_check since the notfier.h include was removed. Signed-off-by: Christoph Hellwig Cc: Andi Kleen Signed-off-by: Andrew Morton --- include/asm-x86_64/kdebug.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN include/asm-x86_64/kdebug.h~optimize-x86-page-faults-like-all-other-achitectures-and-kill-notifier-cruft-fix include/asm-x86_64/kdebug.h --- a/include/asm-x86_64/kdebug.h~optimize-x86-page-faults-like-all-other-achitectures-and-kill-notifier-cruft-fix +++ a/include/asm-x86_64/kdebug.h @@ -1,6 +1,8 @@ #ifndef _X86_64_KDEBUG_H #define _X86_64_KDEBUG_H 1 +#include + struct pt_regs; /* Grossly misnamed. */ _