aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r--arch/x86/xen/mmu.c8
1 files changed, 5 insertions, 3 deletions
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 */
662static __init int mark_pinned(struct page *page, enum pt_level level) 664static __init int mark_pinned(struct page *page, enum pt_level level)
663{ 665{
664 SetPagePinned(page); 666 SetPagePinned(page);