Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bf0ff24 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge
Browse files

xen: fix compile without CONFIG_XEN_DEBUG_FS

parent 2a001f64
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2302,6 +2302,7 @@ int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
}
}
EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range);
EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range);


#ifdef CONFIG_XEN_DEBUG_FS
static int p2m_dump_open(struct inode *inode, struct file *filp)
static int p2m_dump_open(struct inode *inode, struct file *filp)
{
{
	return single_open(filp, p2m_dump_show, NULL);
	return single_open(filp, p2m_dump_show, NULL);
@@ -2313,3 +2314,4 @@ static const struct file_operations p2m_dump_fops = {
	.llseek		= seq_lseek,
	.llseek		= seq_lseek,
	.release	= single_release,
	.release	= single_release,
};
};
#endif /* CONFIG_XEN_DEBUG_FS */