WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [patch 5/5] kexec: Remove xen/common/compat/kexec.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch 5/5] kexec: Remove xen/common/compat/kexec.c
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 15:28:59 +0900
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Delivery-date: Thu, 28 Feb 2008 22:33:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080229062854.370669317@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: quilt/0.46-1
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