diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-01-26 08:11:02 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 08:11:13 -0500 |
commit | 9f4b0ba81f158df459fa2cfc98ab1475c090f29c (patch) | |
tree | f51ae243ddb99496dbdc4df65e217e090fb1b03c /arch/s390/mm/vmem.c | |
parent | 5c699714d01ac358c58be9943234081b36b69cdd (diff) |
[S390] Get rid of HOLES_IN_ZONE requirement.
Align everything to MAX_ORDER so we can get rid of the extra checks.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/vmem.c')
-rw-r--r-- | arch/s390/mm/vmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c index ee625c8c3b28..1fc99891c4eb 100644 --- a/arch/s390/mm/vmem.c +++ b/arch/s390/mm/vmem.c | |||
@@ -376,7 +376,7 @@ static int __init vmem_convert_memory_chunk(void) | |||
376 | int i; | 376 | int i; |
377 | 377 | ||
378 | mutex_lock(&vmem_mutex); | 378 | mutex_lock(&vmem_mutex); |
379 | for (i = 0; i < MEMORY_CHUNKS && memory_chunk[i].size > 0; i++) { | 379 | for (i = 0; i < MEMORY_CHUNKS; i++) { |
380 | if (!memory_chunk[i].size) | 380 | if (!memory_chunk[i].size) |
381 | continue; | 381 | continue; |
382 | seg = kzalloc(sizeof(*seg), GFP_KERNEL); | 382 | seg = kzalloc(sizeof(*seg), GFP_KERNEL); |