]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Fix memory detection.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 5 Nov 2007 10:10:11 +0000 (11:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Nov 2007 10:10:17 +0000 (11:10 +0100)
commitd41fc8459e2b076b03c912732902bec4209c2193
tree31a302d2f92bc451dfa4fea433f8683495b13f4b
parent584010d4089e5c60cc63707aae44e1907e15da66
[S390] Fix memory detection.

Yet another patch in the countless series of memory detection fixes:
if the last area of the reported storage size is a hole the detection
loop will loop forever.
Just break chunk detection loop if its end is going to be larger than
reported storage size.

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