VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Daisuke HATAYAMA <d.hatayama@jp.fujitsu.com> 2010-03-05 13:44:07 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2010-03-06 11:26:45 -0800 commit: 1fcccbac89f5bbc5e41aa72086960059fce372da parent: 088e7af73a962fcc8883b7a6392544d8342553d6
Commit Summary:
elf coredump: replace ELF_CORE_EXTRA_* macros by functions
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c
index 0adced2f296f..112e45a17e99 100644
--- a/fs/compat_binfmt_elf.c
+++ b/fs/compat_binfmt_elf.c
@@ -28,10 +28,12 @@
 
 #undef	elfhdr
 #undef	elf_phdr
+#undef	elf_shdr
 #undef	elf_note
 #undef	elf_addr_t
 #define elfhdr		elf32_hdr
 #define elf_phdr	elf32_phdr
+#define elf_shdr	elf32_shdr
 #define elf_note	elf32_note
 #define elf_addr_t	Elf32_Addr