diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-05-20 19:34:44 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-05-20 19:34:44 -0400 |
commit | 4bf0ff24e371ce71521ccb21513203facfd8491f (patch) | |
tree | 405b7015ed836ed1e89d87258b8353859ba0652c /arch/x86/xen/mmu.c | |
parent | 2a001f6482643239b8a069df5c2bdb2082c98be4 (diff) |
xen: fix compile without CONFIG_XEN_DEBUG_FS
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r-- | arch/x86/xen/mmu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 083b835d2dd0..285335448143 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -2302,6 +2302,7 @@ out: | |||
2302 | } | 2302 | } |
2303 | EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range); | 2303 | EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range); |
2304 | 2304 | ||
2305 | #ifdef CONFIG_XEN_DEBUG_FS | ||
2305 | static int p2m_dump_open(struct inode *inode, struct file *filp) | 2306 | static int p2m_dump_open(struct inode *inode, struct file *filp) |
2306 | { | 2307 | { |
2307 | return single_open(filp, p2m_dump_show, NULL); | 2308 | return single_open(filp, p2m_dump_show, NULL); |
@@ -2313,3 +2314,4 @@ static const struct file_operations p2m_dump_fops = { | |||
2313 | .llseek = seq_lseek, | 2314 | .llseek = seq_lseek, |
2314 | .release = single_release, | 2315 | .release = single_release, |
2315 | }; | 2316 | }; |
2317 | #endif /* CONFIG_XEN_DEBUG_FS */ | ||