aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mm.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-12 12:56:00 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-10-12 12:56:00 +0100
commit5a153a9f8ca72b91d05aa123fedfe11a582a56f4 (patch)
tree49daca531216c90380c1e4aae8d29c276622a1e8 /xen/include/asm-x86/mm.h
parentf98ee759c5e0209ae78dbf416df792339ced9e2e (diff)
downloadxen-5a153a9f8ca72b91d05aa123fedfe11a582a56f4.tar.gz
xen-5a153a9f8ca72b91d05aa123fedfe11a582a56f4.tar.bz2
xen-5a153a9f8ca72b91d05aa123fedfe11a582a56f4.zip
x86: reduce the uses of CONFIG_COMPAT
... to where it really is needed and meaningful (i.e. in some places it seems to make more sense to use __x86_64__ instead). Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/mm.h')
-rw-r--r--xen/include/asm-x86/mm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/include/asm-x86/mm.h b/xen/include/asm-x86/mm.h
index c569573446..14505a5a36 100644
--- a/xen/include/asm-x86/mm.h
+++ b/xen/include/asm-x86/mm.h
@@ -455,10 +455,8 @@ TYPE_SAFE(unsigned long,mfn);
#define INVALID_MFN (~0UL)
-#ifdef CONFIG_COMPAT
#define compat_pfn_to_cr3(pfn) (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20))
#define compat_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20))
-#endif
#ifdef MEMORY_GUARD
void memguard_init(void);
@@ -506,10 +504,8 @@ int __sync_lazy_execstate(void);
/* Arch-specific portion of memory_op hypercall. */
long arch_memory_op(int op, XEN_GUEST_HANDLE(void) arg);
long subarch_memory_op(int op, XEN_GUEST_HANDLE(void) arg);
-#ifdef CONFIG_COMPAT
int compat_arch_memory_op(int op, XEN_GUEST_HANDLE(void));
int compat_subarch_memory_op(int op, XEN_GUEST_HANDLE(void));
-#endif
int steal_page(
struct domain *d, struct page_info *page, unsigned int memflags);