x86: adjust vmalloc_sync_all() for Xen (2nd try)
authorJan Beulich <jbeulich@novell.com>
Fri, 29 Aug 2008 11:53:45 +0000 (12:53 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 6 Sep 2008 17:48:01 +0000 (19:48 +0200)
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 <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>

No differences found