Commit 67060d9c authored by Committed by Martin SchwidefskyBrowse files
[S390] Fix section mismatch warnings.
This fixes the last remaining section mismatch warnings in s390 architecture code. It reveals also a real bug introduced by... me with git commit 2069e978 ("[S390] sparsemem vmemmap: initialize memmap.") Calling the generic vmemmap_alloc_block() function to get initialized memory is a nice idea, however that function is __meminit annotated and therefore the function might be gone if we try to call it later. This can happen if a DCSS segment gets added. So basically revert the patch and clear the memmap explicitly to fix the original bug. Signed-off-by: Heiko Carstens <email@example.com> Signed-off-by: Martin Schwidefsky <firstname.lastname@example.org>