s390: Allow vmalloc target buffers for copy_from_oldmem()
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Fri, 27 Sep 2013 13:41:43 +0000 (15:41 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 30 Sep 2013 11:04:40 +0000 (13:04 +0200)
commit4d3b0664a0d0c0dc7501cfbd067f74226aeca510
treeafd2113c5b00ab9862fddf1c6d8705742dd66c23
parent22bfda6688c9b91393a07887182ec35acc9d06bb
s390: Allow vmalloc target buffers for copy_from_oldmem()

Currently copy_from_oldmem() is not able to copy to virtual memory.
When using kexec pre-allocated ELF header, copy_from_oldmem()
is used to copy the ELF notes information to vmalloc buffers.

So fix this and use the new function copy_from_realmem() that allows
copying also to vmalloc memory.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/crash_dump.c