]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ia64: reuse append_elf_note() and final_note() functions
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Mon, 8 May 2017 22:56:21 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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/149035342324.6881.11667840929850361402.stgit@hbathini.in.ibm.com
Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
Acked-by: Dave Young <dyoung@redhat.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/crash.c
include/linux/crash_core.h
include/linux/elf.h
kernel/crash_core.c
kernel/kexec_core.c