aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/pgalloc.h')
-rw-r--r--include/asm-x86/pgalloc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-x86/pgalloc.h b/include/asm-x86/pgalloc.h
index ea9d27ad7f4e..28773594f741 100644
--- a/include/asm-x86/pgalloc.h
+++ b/include/asm-x86/pgalloc.h
@@ -5,6 +5,16 @@
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#ifdef CONFIG_PARAVIRT
9#include <asm/paravirt.h>
10#else
11#define paravirt_alloc_pt(mm, pfn) do { } while (0)
12#define paravirt_alloc_pd(mm, pfn) do { } while (0)
13#define paravirt_alloc_pd_clone(pfn, clonepfn, start, count) do { } while (0)
14#define paravirt_release_pt(pfn) do { } while (0)
15#define paravirt_release_pd(pfn) do { } while (0)
16#endif
17
8/* 18/*
9 * Allocate and free page tables. 19 * Allocate and free page tables.
10 */ 20 */