s390/crashdump: move fill_cpu_elf_notes() prototype to header file
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 14 Sep 2012 12:11:32 +0000 (14:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:22 +0000 (15:45 +0200)
commit6b563d8c26735a76d84664d1b48271c432d63983
treea17de9875cd6a229f69aedfd0e4f9bef83a04adb
parentf6e38691a2f410e3333941e535c7b20352f98ddb
s390/crashdump: move fill_cpu_elf_notes() prototype to header file

Move fill_cpu_elf_notes() prototype to header file.
This way we get compile errors if e.g. the number of function
parameters get changed.
Otherwise it's possible to change just the definition and everything
else still compiles fine, but the result is broken code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/elf.h
arch/s390/kernel/crash_dump.c
arch/s390/kernel/machine_kexec.c