aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/mmu.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-23 16:32:47 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-23 22:22:32 -0400
commita867db10e89e12a3d97dedafdd411aa1527a6540 (patch)
tree0db5e4335a92447d47b0924c936993e187323de0 /arch/x86/xen/mmu.c
parent10fe570fc16721d78afdba9689720094527c1ba3 (diff)
xen/p2m: Make debug/xen/mmu/p2m visible again.
We dropped a lot of the MMU debugfs in favour of using tracing API - but there is one which just provides mostly static information that was made invisible by this change. Bring it back. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r--arch/x86/xen/mmu.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 3c9aecd09ed1..4df0444b2cee 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -2362,17 +2362,3 @@ out:
2362 return err; 2362 return err;
2363} 2363}
2364EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range); 2364EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range);
2365
2366#ifdef CONFIG_XEN_DEBUG_FS
2367static int p2m_dump_open(struct inode *inode, struct file *filp)
2368{
2369 return single_open(filp, p2m_dump_show, NULL);
2370}
2371
2372static const struct file_operations p2m_dump_fops = {
2373 .open = p2m_dump_open,
2374 .read = seq_read,
2375 .llseek = seq_lseek,
2376 .release = single_release,
2377};
2378#endif /* CONFIG_XEN_DEBUG_FS */