diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-02-28 11:16:26 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-03-05 10:21:35 +0100 |
commit | a7bb1ae749e8051434e54936dcefd37ef1cfa753 (patch) | |
tree | 92ad2df12c02a5d7f59b56af13c4cf1dd4273e20 /arch/sh | |
parent | s390: critical section cleanup vs. machine checks (diff) | |
download | linux-a7bb1ae749e8051434e54936dcefd37ef1cfa753.tar.xz linux-a7bb1ae749e8051434e54936dcefd37ef1cfa753.zip |
s390/mm: fix vmemmap size calculation
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>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions