s390/mm,vmem: fix vmem_add_mem()/vmem_remove_range()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 8 Oct 2012 05:54:32 +0000 (07:54 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2012 12:17:01 +0000 (14:17 +0200)
vmem_add_mem() should only then insert a large page if pmd_none() is true
for the specific entry. We might have a leftover from a previous mapping.
In addition make vmem_remove_range()'s page table walk code more complete
and fix a couple of potential endless loops (which can never happen :).

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found