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-changelog

[Xen-changelog] [linux-2.6.18-xen] xen/x86-64: slightly simplify smp-xen

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen/x86-64: slightly simplify smp-xen.c
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 05:41:28 -0700
Delivery-date: Thu, 20 Mar 2008 05:47:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205839234 0
# Node ID ecf56205206a457d86a9dc370704c7c86f29aeb4
# Parent  32306ea54ae85506c563f119527246b35c0ac59b
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@xxxxxxxxxx>
---
 arch/x86_64/kernel/smp-xen.c |    2 --
 1 files changed, 2 deletions(-)

diff -r 32306ea54ae8 -r ecf56205206a arch/x86_64/kernel/smp-xen.c
--- a/arch/x86_64/kernel/smp-xen.c      Tue Mar 18 11:19:54 2008 +0000
+++ b/arch/x86_64/kernel/smp-xen.c      Tue Mar 18 11:20:34 2008 +0000
@@ -70,7 +70,6 @@ union smp_flush_state {
    to a full cache line because other CPUs can access it and we don't
    want false sharing in the per cpu data segment. */
 static DEFINE_PER_CPU(union smp_flush_state, flush_state);
-#endif
 
 /*
  * We cannot call mmdrop() because we are in interrupt context, 
@@ -84,7 +83,6 @@ static inline void leave_mm(unsigned lon
        load_cr3(swapper_pg_dir);
 }
 
-#ifndef CONFIG_XEN
 /*
  *
  * The flush IPI assumes that a thread switch happens in this order:

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen/x86-64: slightly simplify smp-xen.c, Xen patchbot-linux-2.6.18-xen <=