Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
}
#endif /* CONFIG_VIRTUAL_MEM_MAP */
+#ifndef XEN
static int
count_reserved_pages (u64 start, u64 end, void *arg)
{
*count += num_reserved;
return 0;
}
+#endif
/*
* Boot command-line option "nolwsys" can be used to disable the use of any light-weight
} free;
} u;
+#if 0
// following added for Linux compiling
page_flags_t flags;
atomic_t _count;
struct list_head lru; // is this the same as above "list"?
+#endif
};
#define set_page_count(p,v) atomic_set(&(p)->_count, v - 1)