[PATCH v7 1/5] vmcore: Introduce ELF header in new memory feature

2013-07-16 Thread Michael Holzheu
Currently for s390 we create the ELF core header in the 2nd kernel with a small trick. We relocate the addresses in the ELF header in a way that for the /proc/vmcore code it seems to be in the 1st kernel (old) memory and the read_from_oldmem() returns the correct data. This allows the /proc/vmcore

[PATCH v7 1/5] vmcore: Introduce ELF header in new memory feature

2013-07-16 Thread Michael Holzheu
Currently for s390 we create the ELF core header in the 2nd kernel with a small trick. We relocate the addresses in the ELF header in a way that for the /proc/vmcore code it seems to be in the 1st kernel (old) memory and the read_from_oldmem() returns the correct data. This allows the /proc/vmcore