s390/setup: fix memblock usage
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 1 Dec 2016 11:20:09 +0000 (12:20 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 2 Dec 2016 06:36:24 +0000 (07:36 +0100)
commitdb7ad63624b370100077aa0a849d54fbeabd432b
treedf248c8b794c7970368e25776f2327b2ec5d5184
parent3e488c95c72ba8cbe8ab3a5c1c61f058f9e30aed
s390/setup: fix memblock usage

When converting from bootmem to memblock I missed a subtle difference:
the memblock_alloc() functions return uninitialized memory, while the
memblock_virt_alloc() functions return zeroed memory.

This led to quite random early boot crashes.

Therefore use the correct version everywhere now.
Hopefully.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c