From: Richard Weinberger Date: Fri, 19 Oct 2012 20:56:47 +0000 (-0700) Subject: linux/coredump.h needs asm/siginfo.h X-Git-Tag: v3.7-rc2~10^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d46e232f8637f31f8df2e50b27fd20d8135bd93;p=profile%2Fivi%2Fkernel-x86-ivi.git linux/coredump.h needs asm/siginfo.h Commit 5ab1c309b344 ("coredump: pass siginfo_t* to do_coredump() and below, not merely signr") added siginfo_t to linux/coredump.h but forgot to include asm/siginfo.h. This breaks the build for UML/i386. (And any other arch where asm/siginfo.h is not magically preincluded...) In file included from arch/x86/um/elfcore.c:2:0: include/linux/coredump.h:15:25: error: unknown type name 'siginfo_t' make[1]: *** [arch/x86/um/elfcore.o] Error 1 Signed-off-by: Richard Weinberger Cc: Denys Vlasenko Cc: Oleg Nesterov Cc: Amerigo Wang Cc: "Jonathan M. Foote" Cc: Roland McGrath Cc: Pedro Alves Cc: Fengguang Wu Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/coredump.h b/include/linux/coredump.h index 1775eb8..1d73993 100644 --- a/include/linux/coredump.h +++ b/include/linux/coredump.h @@ -4,6 +4,7 @@ #include #include #include +#include /* * These are the only things you should do on a core-file: use only these