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>
Showing
- arch/ia64/kernel/crash.c 0 additions, 22 deletionsarch/ia64/kernel/crash.c
- include/linux/crash_core.h 4 additions, 0 deletionsinclude/linux/crash_core.h
- include/linux/elf.h 2 additions, 0 deletionsinclude/linux/elf.h
- kernel/crash_core.c 14 additions, 20 deletionskernel/crash_core.c
- kernel/kexec_core.c 0 additions, 28 deletionskernel/kexec_core.c
Loading
Please register or sign in to comment