diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2008-07-08 18:06:24 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 04:53:57 -0400 |
commit | c1f2f09ef66d5dadd5fe42ea909e708470c9636d (patch) | |
tree | f95641b8977cf2d03236cebb65050864113af2d0 | |
parent | a312b37b2a212fd2e227d1d6321f903b91b65ec7 (diff) |
pvops-64: call paravirt_post_allocator_init() on setup_arch()
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-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); |