From: Jan Beulich Date: Fri, 29 Aug 2008 11:53:45 +0000 (+0100) Subject: x86: adjust vmalloc_sync_all() for Xen (2nd try) X-Git-Tag: v2.6.28-rc1~699^2^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc643d4687533345fd8ebcba836f9ee25df7c458;p=pandora-kernel.git x86: adjust vmalloc_sync_all() for Xen (2nd try) Since the fourth PDPT entry cannot be shared under Xen, vmalloc_sync_all() must iterate over pmd-s rather than pgd-s here. Luckily, the code isn't used for native PAE (SHARED_KERNEL_PMD is 1) and the change is benign to non-PAE. Also do a little more cleanup in that function. Signed-off-by: Jan Beulich Signed-off-by: Ingo Molnar Cc: Jeremy Fitzhardinge --- Reading git-diff-tree failed