ia64/linux-2.6.18-xen.hg

changeset 480:ecf56205206a

xen/x86-64: slightly simplify smp-xen.c

Two Xen conditionals can be folded into one, as the code between the
two is also not used on Xen.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 18 11:20:34 2008 +0000 (2008-03-18)
parents 32306ea54ae8
children 87a56ff291d3
files arch/x86_64/kernel/smp-xen.c
line diff
     1.1 --- a/arch/x86_64/kernel/smp-xen.c	Tue Mar 18 11:19:54 2008 +0000
     1.2 +++ b/arch/x86_64/kernel/smp-xen.c	Tue Mar 18 11:20:34 2008 +0000
     1.3 @@ -70,7 +70,6 @@ union smp_flush_state {
     1.4     to a full cache line because other CPUs can access it and we don't
     1.5     want false sharing in the per cpu data segment. */
     1.6  static DEFINE_PER_CPU(union smp_flush_state, flush_state);
     1.7 -#endif
     1.8  
     1.9  /*
    1.10   * We cannot call mmdrop() because we are in interrupt context, 
    1.11 @@ -84,7 +83,6 @@ static inline void leave_mm(unsigned lon
    1.12  	load_cr3(swapper_pg_dir);
    1.13  }
    1.14  
    1.15 -#ifndef CONFIG_XEN
    1.16  /*
    1.17   *
    1.18   * The flush IPI assumes that a thread switch happens in this order: