[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] kexec: Remove xen/common/compat/kexec.c



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204541943 0
# Node ID 750788fdd42fb4a2ad034023d3e10ad97a510f1b
# Parent  f476727b168344f3733277df207b760b5b7b4242
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/kexec.c  |    8 --------
 2 files changed, 9 deletions(-)

diff -r f476727b1683 -r 750788fdd42f xen/common/Makefile
--- a/xen/common/Makefile       Mon Mar 03 10:58:06 2008 +0000
+++ b/xen/common/Makefile       Mon Mar 03 10:59:03 2008 +0000
@@ -48,7 +48,6 @@ ifeq ($(CONFIG_COMPAT),y)
 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 -r f476727b1683 -r 750788fdd42f xen/common/kexec.c
--- a/xen/common/kexec.c        Mon Mar 03 10:58:06 2008 +0000
+++ b/xen/common/kexec.c        Mon Mar 03 10:59:03 2008 +0000
@@ -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, XE
 }
 #endif
 
-#endif /* COMPAT */
-
-#if defined(CONFIG_COMPAT) && !defined(COMPAT)
-#include "compat/kexec.c"
-#endif
-
 /*
  * Local variables:
  * mode: C

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.