diff options
-rw-r--r-- | arch/s390/kernel/early.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index 5e47936573f2..50538e545618 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c | |||
@@ -253,11 +253,10 @@ static noinline __init void find_memory_chunks(unsigned long memsize) | |||
253 | break; | 253 | break; |
254 | #endif | 254 | #endif |
255 | /* | 255 | /* |
256 | * Finish memory detection at the first hole, unless | 256 | * Finish memory detection at the first hole |
257 | * - we reached the hsa -> skip it. | 257 | * if storage size is unknown. |
258 | * - we know there must be more. | ||
259 | */ | 258 | */ |
260 | if (cc == -1UL && !memsize && old_addr != ADDR2G) | 259 | if (cc == -1UL && !memsize) |
261 | break; | 260 | break; |
262 | if (memsize && addr >= memsize) | 261 | if (memsize && addr >= memsize) |
263 | break; | 262 | break; |