diff options
Diffstat (limited to 'include/asm-x86/pgalloc.h')
| -rw-r--r-- | include/asm-x86/pgalloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/pgalloc.h b/include/asm-x86/pgalloc.h index 91e4641f3f31..d63ea431cb3b 100644 --- a/include/asm-x86/pgalloc.h +++ b/include/asm-x86/pgalloc.h | |||
| @@ -5,9 +5,13 @@ | |||
| 5 | #include <linux/mm.h> /* for struct page */ | 5 | #include <linux/mm.h> /* for struct page */ |
| 6 | #include <linux/pagemap.h> | 6 | #include <linux/pagemap.h> |
| 7 | 7 | ||
| 8 | static inline int __paravirt_pgd_alloc(struct mm_struct *mm) { return 0; } | ||
| 9 | |||
| 8 | #ifdef CONFIG_PARAVIRT | 10 | #ifdef CONFIG_PARAVIRT |
| 9 | #include <asm/paravirt.h> | 11 | #include <asm/paravirt.h> |
| 10 | #else | 12 | #else |
| 13 | #define paravirt_pgd_alloc(mm) __paravirt_pgd_alloc(mm) | ||
| 14 | static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd) {} | ||
| 11 | static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} | 15 | static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} |
| 12 | static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} | 16 | static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} |
| 13 | static inline void paravirt_alloc_pmd_clone(unsigned long pfn, unsigned long clonepfn, | 17 | static inline void paravirt_alloc_pmd_clone(unsigned long pfn, unsigned long clonepfn, |
