elf core dump: notes reorg
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:44 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:44 +0000 (13:31 +0100)
commit3aba481fc94d83ff630d4b7cd2f7447010c4c6df
treef953d24b736fa9404ad1e8e6138c056f0717a297
parentbdf88217b70dbb18c4ee27a6c497286e040a6705
elf core dump: notes reorg

This pulls out the code for writing the notes segment of an ELF core dump
into separate functions.  This cleanly isolates into one cluster of
functions everything that deals with the note formats and the hooks into
arch code to fill them.  The top-level elf_core_dump function itself now
deals purely with the generic ELF format and the memory segments.

This only moves code around into functions that can be inlined away.
It should not change any behavior at all.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/binfmt_elf.c