From: Brian King Date: Fri, 15 Aug 2008 19:09:33 +0000 (+1000) Subject: powerpc: Fix CMM page loaning on 64k page kernel with 4k hardware pages X-Git-Tag: v2.6.27-rc4~44^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=370e4587d0a6bf80a0c421583fe579a13f3d8773;p=pandora-kernel.git powerpc: Fix CMM page loaning on 64k page kernel with 4k hardware pages If the firmware page size used for collaborative memory overcommit is 4k, but the kernel is using 64k pages, the page loaning is currently broken as it only marks the first 4k page of each 64k page as loaned. This fixes this to iterate through each 4k page and mark them all as loaned/active. Signed-off-by: Brian King Signed-off-by: Robert Jennings Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed