aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xen/common/Makefile1
-rw-r--r--xen/common/kexec.c8
2 files changed, 0 insertions, 9 deletions
diff --git a/xen/common/Makefile b/xen/common/Makefile
index 631ac384bd..e190a55014 100644
--- a/xen/common/Makefile
+++ b/xen/common/Makefile
@@ -48,7 +48,6 @@ version.o: $(BASEDIR)/include/xen/compile.h
ifeq ($(CONFIG_COMPAT),y)
# extra dependencies
grant_table.o: compat/grant_table.c
-kexec.o: compat/kexec.c
schedule.o: compat/schedule.c
xenoprof.o: compat/xenoprof.c
endif
diff --git a/xen/common/kexec.c b/xen/common/kexec.c
index ccb5363b53..02f633d660 100644
--- a/xen/common/kexec.c
+++ b/xen/common/kexec.c
@@ -27,8 +27,6 @@
#include <compat/kexec.h>
#endif
-#ifndef COMPAT
-
static DEFINE_PER_CPU(void *, crash_notes);
static Elf_Note *xen_crash_note;
@@ -455,12 +453,6 @@ int compat_kexec_op(unsigned long op, XEN_GUEST_HANDLE(void) uarg)
}
#endif
-#endif /* COMPAT */
-
-#if defined(CONFIG_COMPAT) && !defined(COMPAT)
-#include "compat/kexec.c"
-#endif
-
/*
* Local variables:
* mode: C