* [PATCH] UM: linux/coredump.h needs siginfo_t
@ 2012-10-15 13:10 David Howells
2012-10-15 13:13 ` Richard Weinberger
0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2012-10-15 13:10 UTC (permalink / raw)
To: jdike, richard; +Cc: rdunlap, dhowells, user-mode-linux-devel, linux-kernel
linux/coredump.h should #include asm/siginfo.h for the siginfo_t type.
Without this the following error occurs when compiling UM defconfig:
include/linux/coredump.h:15:25: error: unknown type name 'siginfo_t'
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/linux/coredump.h | 1 +
1 file changed, 1 insertion(+)
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 <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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] UM: linux/coredump.h needs siginfo_t
2012-10-15 13:10 [PATCH] UM: linux/coredump.h needs siginfo_t David Howells
@ 2012-10-15 13:13 ` Richard Weinberger
0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2012-10-15 13:13 UTC (permalink / raw)
To: David Howells
Cc: jdike, rdunlap, user-mode-linux-devel, linux-kernel,
Andrew Morton
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
Am 15.10.2012 15:10, schrieb David Howells:
> linux/coredump.h should #include asm/siginfo.h for the siginfo_t type.
>
> Without this the following error occurs when compiling UM defconfig:
>
> include/linux/coredump.h:15:25: error: unknown type name 'siginfo_t'
>
> Signed-off-by: David Howells <dhowells@redhat.com>
This fix is already in -mm.
Thanks,
//richard
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-15 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 13:10 [PATCH] UM: linux/coredump.h needs siginfo_t David Howells
2012-10-15 13:13 ` Richard Weinberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox