From: Simon Horman Subject: [patch 5/5] kexec: Remove xen/common/compat/kexec.c Date: Fri, 29 Feb 2008 15:28:59 +0900 Message-ID: <20080229063125.459844285@vergenet.net> References: <20080229062854.370669317@vergenet.net> Return-path: Content-Disposition: inline; filename=remove-compat-kexec.c List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org 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 --- 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 - -#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 #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