]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] Rework create_mem_hole() function
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 2 Nov 2011 10:15:56 +0000 (11:15 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 2 Nov 2011 10:15:59 +0000 (11:15 +0100)
commitc4702cd6bad0efe61227680ee2881af78152cf4b
tree8e817752003d7c4a18b59e3baa6651899576bfb3
parent994c0e992522c123298b4a91b72f5e67ba2d1123
[S390] Rework create_mem_hole() function

This patch makes the create_mem_hole() function more readable and
fixes some minor bugs (e.g. off-by-one problems).

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/mem_detect.c