]> err.no Git - linux-2.6/commit
[S390] Fix vmalloc area size calculation.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 9 Jan 2007 09:18:47 +0000 (10:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Jan 2007 09:18:47 +0000 (10:18 +0100)
commitde338a3795bbcb3c3d77591f65118cbec776cc39
treed05a24fdc7e6d1de55b0c0399cdbaa81534b5ae6
parent6721f77810dfcb7cbf8e97be6fa43fe2740dd0aa
[S390] Fix vmalloc area size calculation.

setup_memory_end() uses VMALLOC_END instead of VMALLOC_END_INIT to
calculate the maximum supported size of physical memory. Since
VMALLOC_END is zero, this will cause a crash on 31 bit systems.

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