ia64/xen-unstable

changeset 17167:750788fdd42f

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>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 03 10:59:03 2008 +0000 (2008-03-03)
parents f476727b1683
children 703afd373e33
files xen/common/Makefile xen/common/kexec.c
line diff
     1.1 --- a/xen/common/Makefile	Mon Mar 03 10:58:06 2008 +0000
     1.2 +++ b/xen/common/Makefile	Mon Mar 03 10:59:03 2008 +0000
     1.3 @@ -48,7 +48,6 @@ version.o: $(BASEDIR)/include/xen/compil
     1.4  ifeq ($(CONFIG_COMPAT),y)
     1.5  # extra dependencies
     1.6  grant_table.o: compat/grant_table.c
     1.7 -kexec.o: compat/kexec.c
     1.8  schedule.o: compat/schedule.c
     1.9  xenoprof.o: compat/xenoprof.c
    1.10  endif
     2.1 --- a/xen/common/kexec.c	Mon Mar 03 10:58:06 2008 +0000
     2.2 +++ b/xen/common/kexec.c	Mon Mar 03 10:59:03 2008 +0000
     2.3 @@ -27,8 +27,6 @@
     2.4  #include <compat/kexec.h>
     2.5  #endif
     2.6  
     2.7 -#ifndef COMPAT
     2.8 -
     2.9  static DEFINE_PER_CPU(void *, crash_notes);
    2.10  
    2.11  static Elf_Note *xen_crash_note;
    2.12 @@ -455,12 +453,6 @@ int compat_kexec_op(unsigned long op, XE
    2.13  }
    2.14  #endif
    2.15  
    2.16 -#endif /* COMPAT */
    2.17 -
    2.18 -#if defined(CONFIG_COMPAT) && !defined(COMPAT)
    2.19 -#include "compat/kexec.c"
    2.20 -#endif
    2.21 -
    2.22  /*
    2.23   * Local variables:
    2.24   * mode: C