From: Heiko Carstens Date: Mon, 8 Oct 2012 05:54:32 +0000 (+0200) Subject: s390/mm,vmem: fix vmem_add_mem()/vmem_remove_range() X-Git-Tag: v3.7-rc1~62^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7e48aad35bf98c84cf21aed5c2f100c5ce009b;p=pandora-kernel.git s390/mm,vmem: fix vmem_add_mem()/vmem_remove_range() 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed