Commit 1d46e232 authored by Richard Weinberger's avatar Richard Weinberger Committed by Linus Torvalds

linux/coredump.h needs asm/siginfo.h

Commit 5ab1c309 ("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: default avatarRichard 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: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c9623de4
......@@ -4,6 +4,7 @@
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <asm/siginfo.h>
* These are the only things you should do on a core-file: use only these
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment