VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Denys Vlasenko <vda.linux@googlemail.com> 2012-10-04 17:15:35 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2012-10-06 03:05:16 +0900 commit: 49ae4d4b113be03dc4a2ec5f2a1f573ff0fcddb3 parent: 751f409db6216ebd134a94f6dcd97779933a5106
Commit Summary:
coredump: add a new elf note with siginfo of the signal
Diffstat:
1 file changed, 6 insertions, 0 deletions
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c
index 112e45a17e99..0fbcf6347437 100644
--- a/fs/compat_binfmt_elf.c
+++ b/fs/compat_binfmt_elf.c
@@ -37,6 +37,12 @@
 #define elf_note	elf32_note
 #define elf_addr_t	Elf32_Addr
 
+/*
+ * Some data types as stored in coredump.
+ */
+#define user_siginfo_t		compat_siginfo_t
+#define copy_siginfo_to_user	copy_siginfo_to_user32
+
 /*
  * The machine-dependent core note format types are defined in elfcore-compat.h,
  * which requires asm/elf.h to define compat_elf_gregset_t et al.