|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [patch 5/5] 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@xxxxxxxxxxxx>
---
xen/common/Makefile | 1 -
xen/common/compat/kexec.c | 21 ---------------------
xen/common/kexec.c | 8 --------
3 files changed, 30 deletions(-)
Index: xen-unstable.hg/xen/common/Makefile
===================================================================
--- xen-unstable.hg.orig/xen/common/Makefile 2008-02-29 15:22:35.000000000
+0900
+++ xen-unstable.hg/xen/common/Makefile 2008-02-29 15:22:45.000000000 +0900
@@ -48,7 +48,6 @@ version.o: $(BASEDIR)/include/xen/compil
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
Index: xen-unstable.hg/xen/common/compat/kexec.c
===================================================================
--- xen-unstable.hg.orig/xen/common/compat/kexec.c 2008-02-29
15:22:35.000000000 +0900
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,21 +0,0 @@
-/*
- * compat/kexec.c
- */
-
-#include <compat/kexec.h>
-
-#define COMPAT
-
-CHECK_kexec_exec;
-
-#include "../kexec.c"
-
-/*
- * Local variables:
- * mode: C
- * c-set-style: "BSD"
- * c-basic-offset: 4
- * tab-width: 4
- * indent-tabs-mode: nil
- * End:
- */
Index: xen-unstable.hg/xen/common/kexec.c
===================================================================
--- xen-unstable.hg.orig/xen/common/kexec.c 2008-02-29 15:22:35.000000000
+0900
+++ xen-unstable.hg/xen/common/kexec.c 2008-02-29 15:22:45.000000000 +0900
@@ -27,8 +27,6 @@
#include <compat/kexec.h>
#endif
-#ifndef COMPAT
-
static DEFINE_PER_CPU(void *, crash_notes);
static Elf_Note *xen_crash_note;
@@ -451,12 +449,6 @@ int compat_kexec_op(unsigned long op, XE
}
#endif
-#endif /* COMPAT */
-
-#if defined(CONFIG_COMPAT) && !defined(COMPAT)
-#include "compat/kexec.c"
-#endif
-
/*
* Local variables:
* mode: C
--
--
Horms
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|