From: Jeremy Fitzhardinge Date: Thu, 6 Nov 2008 21:48:24 +0000 (-0800) Subject: x86, xen: fix use of pgd_page now that it really does return a page X-Git-Tag: v2.6.28-rc4~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47cb2ed9df2789fc4a3fe1201e475078f93c4839;p=pandora-kernel.git x86, xen: fix use of pgd_page now that it really does return a page Impact: fix 32-bit Xen guest boot crash On 32-bit PAE, pud_page, for no good reason, didn't really return a struct page *. Since Jan Beulich's fix "i386/PAE: fix pud_page()", pud_page does return a struct page *. Because PAE has 3 pagetable levels, the pud level is folded into the pgd level, so pgd_page() is the same as pud_page(), and now returns a struct page *. Update the xen/mmu.c code which uses pgd_page() accordingly. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed