37 #include <linux/sched.h>
45 #include <asm/pgtable.h>
50 unsigned long **frames = (
unsigned long **)data;
61 static int map_pte_fn_status(
pte_t *pte,
struct page *pmd_page,
62 unsigned long addr,
void *data)
71 static int unmap_pte_fn(
pte_t *pte,
struct page *pmd_page,
72 unsigned long addr,
void *data)
80 unsigned long max_nr_gframes,
101 unsigned long max_nr_gframes,
107 if (shared ==
NULL) {
119 map_pte_fn_status, &frames);