EXPORT_SYMBOL_GPL(m2p_find_override_pfn);
#ifdef CONFIG_XEN_DEBUG_FS
--
-- int p2m_dump_show(struct seq_file *m, void *v)
++ #include <linux/debugfs.h>
++ #include "debugfs.h"
++ static int p2m_dump_show(struct seq_file *m, void *v)
{
static const char * const level_name[] = { "top", "middle",
- - "entry", "abnormal" };
- - static const char * const type_name[] = { "identity", "missing",
- - "pfn", "abnormal"};
+ + "entry", "abnormal", "error"};
#define TYPE_IDENTITY 0
#define TYPE_MISSING 1
#define TYPE_PFN 2
*/
#include <linux/kernel.h>
++ #include <linux/bootmem.h>
++ #include <linux/swap.h>
#include <linux/mm.h>
#include <linux/mman.h>
+#include <linux/module.h>
#include <linux/workqueue.h>
#include <xen/balloon.h>
#include <xen/tmem.h>