From: Jeremy Fitzhardinge Date: Fri, 20 May 2011 23:34:44 +0000 (-0700) Subject: xen: fix compile without CONFIG_XEN_DEBUG_FS X-Git-Tag: v3.0-rc1~52^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4bf0ff24e371ce71521ccb21513203facfd8491f;p=profile%2Fcommon%2Fkernel-common.git xen: fix compile without CONFIG_XEN_DEBUG_FS Signed-off-by: Jeremy Fitzhardinge --- diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 083b835..2853354 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -2302,6 +2302,7 @@ out: } EXPORT_SYMBOL_GPL(xen_remap_domain_mfn_range); +#ifdef CONFIG_XEN_DEBUG_FS static int p2m_dump_open(struct inode *inode, struct file *filp) { return single_open(filp, p2m_dump_show, NULL); @@ -2313,3 +2314,4 @@ static const struct file_operations p2m_dump_fops = { .llseek = seq_lseek, .release = single_release, }; +#endif /* CONFIG_XEN_DEBUG_FS */