]> err.no Git - linux-2.6/commit
[S390] Fix memory detection.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 20 Nov 2007 10:13:39 +0000 (11:13 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 Nov 2007 10:13:48 +0000 (11:13 +0100)
commita2cb07376e397e7e788551f14acd972e22b09efd
tree652a3c1c7c99b3676bbeaa5fbdce546e7a7943c8
parent70cf5035dedaeddf8f6ae5c0a74ea65dcd7356ab
[S390] Fix memory detection.

Before we're getting short on memory detection fixes here is the next
one: if neither sclp nor diag260 report the storage size the detection
loop will return immediately without detecting anything. Fix this by
breaking the detection loop only if the memory end is known.

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