ia64: reuse append_elf_note() and final_note() functions
authorHari Bathini <[email protected]>
Mon, 8 May 2017 22:56:21 +0000 (15:56 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:11 +0000 (17:15 -0700)
commit51dbd92520d4344fef78481b1bcbc3a7de32b69b
treecc299f31730e340de10f3bb8fbf7bcc48471b319
parent692f66f26a4c19d73249736aa973c13a1521b387
ia64: reuse append_elf_note() and final_note() functions

Get rid of multiple definitions of append_elf_note() & final_note()
functions.  Reuse these functions compiled under CONFIG_CRASH_CORE Also,
define Elf_Word and use it instead of generic u32 or the more specific
Elf64_Word.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Hari Bathini <[email protected]>
Acked-by: Dave Young <[email protected]>
Acked-by: Tony Luck <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Mahesh Salgaonkar <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/ia64/kernel/crash.c
include/linux/crash_core.h
include/linux/elf.h
kernel/crash_core.c
kernel/kexec_core.c