diff options
-rw-r--r-- | include/asm-x86/pgalloc.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/asm-x86/pgalloc.h b/include/asm-x86/pgalloc.h index 60e7f514ea01..91e4641f3f31 100644 --- a/include/asm-x86/pgalloc.h +++ b/include/asm-x86/pgalloc.h | |||
@@ -8,13 +8,14 @@ | |||
8 | #ifdef CONFIG_PARAVIRT | 8 | #ifdef CONFIG_PARAVIRT |
9 | #include <asm/paravirt.h> | 9 | #include <asm/paravirt.h> |
10 | #else | 10 | #else |
11 | #define paravirt_alloc_pte(mm, pfn) do { } while (0) | 11 | static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} |
12 | #define paravirt_alloc_pmd(mm, pfn) do { } while (0) | 12 | static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} |
13 | #define paravirt_alloc_pmd_clone(pfn, clonepfn, start, count) do { } while (0) | 13 | static inline void paravirt_alloc_pmd_clone(unsigned long pfn, unsigned long clonepfn, |
14 | #define paravirt_alloc_pud(mm, pfn) do { } while (0) | 14 | unsigned long start, unsigned long count) {} |
15 | #define paravirt_release_pte(pfn) do { } while (0) | 15 | static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) {} |
16 | #define paravirt_release_pmd(pfn) do { } while (0) | 16 | static inline void paravirt_release_pte(unsigned long pfn) {} |
17 | #define paravirt_release_pud(pfn) do { } while (0) | 17 | static inline void paravirt_release_pmd(unsigned long pfn) {} |
18 | static inline void paravirt_release_pud(unsigned long pfn) {} | ||
18 | #endif | 19 | #endif |
19 | 20 | ||
20 | /* | 21 | /* |