aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/machine_kexec.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/machine_kexec.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/machine_kexec.c')
-rw-r--r--xen/arch/x86/machine_kexec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/arch/x86/machine_kexec.c b/xen/arch/x86/machine_kexec.c
index d47fa60438..8d99cc4b11 100644
--- a/xen/arch/x86/machine_kexec.c
+++ b/xen/arch/x86/machine_kexec.c
@@ -94,7 +94,6 @@ void machine_kexec(xen_kexec_image_t *image)
*/
asm volatile ( "lgdt %0" : : "m" (gdt_desc) );
-#ifdef CONFIG_COMPAT
if ( is_pv_32on64_domain(dom0) )
{
compat_machine_kexec(image->page_list[1],
@@ -103,7 +102,6 @@ void machine_kexec(xen_kexec_image_t *image)
image->start_address);
}
else
-#endif
{
relocate_new_kernel_t rnk;