s390/mm: fix vmemmap size calculation
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 28 Feb 2013 10:16:26 +0000 (11:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Mar 2013 09:21:35 +0000 (10:21 +0100)
The size of the vmemmap must be a multiple of PAGES_PER_SECTION, since the
common code always initializes the vmemmap in such pieces.
So we must round up in order to not have a too small vmemmap.

Fixes an IPL crash on 31 bit with more than 1920MB.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found