diff options
-rw-r--r-- | arch/x86/kernel/setup.c | 1 | ||||
-rw-r--r-- | arch/x86/mm/init_32.c | 2 | ||||
-rw-r--r-- | arch/x86/xen/mmu.c | 8 |
3 files changed, 6 insertions, 5 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 8ce6a91ce108..2ed504b97d47 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -822,6 +822,7 @@ void __init setup_arch(char **cmdline_p) | |||
822 | paravirt_pagetable_setup_start(swapper_pg_dir); | 822 | paravirt_pagetable_setup_start(swapper_pg_dir); |
823 | paging_init(); | 823 | paging_init(); |
824 | paravirt_pagetable_setup_done(swapper_pg_dir); | 824 | paravirt_pagetable_setup_done(swapper_pg_dir); |
825 | paravirt_post_allocator_init(); | ||
825 | 826 | ||
826 | #ifdef CONFIG_X86_64 | 827 | #ifdef CONFIG_X86_64 |
827 | map_vsyscall(); | 828 | map_vsyscall(); |
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 9689a5138e64..7113acd8ac45 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -868,8 +868,6 @@ void __init paging_init(void) | |||
868 | */ | 868 | */ |
869 | sparse_init(); | 869 | sparse_init(); |
870 | zone_sizes_init(); | 870 | zone_sizes_init(); |
871 | |||
872 | paravirt_post_allocator_init(); | ||
873 | } | 871 | } |
874 | 872 | ||
875 | /* | 873 | /* |
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index ff0aa74afaa1..ebd6900e331c 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -656,9 +656,11 @@ void xen_mm_pin_all(void) | |||
656 | spin_unlock_irqrestore(&pgd_lock, flags); | 656 | spin_unlock_irqrestore(&pgd_lock, flags); |
657 | } | 657 | } |
658 | 658 | ||
659 | /* The init_mm pagetable is really pinned as soon as its created, but | 659 | /* |
660 | that's before we have page structures to store the bits. So do all | 660 | * The init_mm pagetable is really pinned as soon as its created, but |
661 | the book-keeping now. */ | 661 | * that's before we have page structures to store the bits. So do all |
662 | * the book-keeping now. | ||
663 | */ | ||
662 | static __init int mark_pinned(struct page *page, enum pt_level level) | 664 | static __init int mark_pinned(struct page *page, enum pt_level level) |
663 | { | 665 | { |
664 | SetPagePinned(page); | 666 | SetPagePinned(page); |