aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-03-03 10:59:03 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-03-03 10:59:03 +0000
commit6d38ce94ae8baf31d677fef988f727e848c7a003 (patch)
tree96f9225c66c700035a09c1bea78665cc8e7fc7c2
parent2fc479d9df28a26283b8c2c97b1b59088120faa6 (diff)
downloadxen-6d38ce94ae8baf31d677fef988f727e848c7a003.tar.gz
xen-6d38ce94ae8baf31d677fef988f727e848c7a003.tar.bz2
xen-6d38ce94ae8baf31d677fef988f727e848c7a003.zip
kexec: Remove xen/common/compat/kexec.c
xen/common/compat/kexec.c and and the resulting two-pass build of xen/common/kexec.c is no longer needed. Signed-off-by: Simon Horman <horms@verge.net.au>
-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