aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/setup.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2012-09-12 20:21:02 +0100
committerKeir Fraser <keir@xen.org>2012-09-12 20:21:02 +0100
commit5df3f4b7b92dd26797a5747e86d02a803bdbcd43 (patch)
tree7ca08c7f45b2899ab73e0392fed027fca75b501a /xen/arch/x86/setup.c
parent15a9f34d1b1a6c50f2da046a6e4c6726a230d089 (diff)
downloadxen-5df3f4b7b92dd26797a5747e86d02a803bdbcd43.tar.gz
xen-5df3f4b7b92dd26797a5747e86d02a803bdbcd43.tar.bz2
xen-5df3f4b7b92dd26797a5747e86d02a803bdbcd43.zip
x86: Remove CONFIG_COMPAT ifdef'ery from arch/x86 -- it is always defined.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r--xen/arch/x86/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index ccacc2faa2..1108881b97 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -26,10 +26,8 @@
#include <xen/pfn.h>
#include <xen/nodemask.h>
#include <public/version.h>
-#ifdef CONFIG_COMPAT
#include <compat/platform.h>
#include <compat/xen.h>
-#endif
#include <asm/bitops.h>
#include <asm/smp.h>
#include <asm/processor.h>
@@ -1082,12 +1080,10 @@ void __init __start_xen(unsigned long mbi_p)
BUILD_BUG_ON(sizeof(shared_info_t) > PAGE_SIZE);
BUILD_BUG_ON(sizeof(struct vcpu_info) != 64);
-#ifdef CONFIG_COMPAT
BUILD_BUG_ON(sizeof(((struct compat_platform_op *)0)->u) !=
sizeof(((struct compat_platform_op *)0)->u.pad));
BUILD_BUG_ON(sizeof(start_info_compat_t) > PAGE_SIZE);
BUILD_BUG_ON(sizeof(struct compat_vcpu_info) != 64);
-#endif
/* Check definitions in public headers match internal defs. */
BUILD_BUG_ON(__HYPERVISOR_VIRT_START != HYPERVISOR_VIRT_START);