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] [xen-unstable] x86: kill unused local variable sh_mapcac

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: kill unused local variable sh_mapcache
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 May 2007 08:21:34 -0700
Delivery-date: Tue, 15 May 2007 08:23:54 -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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1179219838 -3600
# Node ID 05ea0d79a92f1d5b71c00d7e760b61cbcdbdb3ce
# Parent  e72e94d2987cfa20d3ac6b34972d0ce639efb1fa
x86: kill unused local variable sh_mapcache
Apparently a leaf-over from pre-3.0.3.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/mm.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r e72e94d2987c -r 05ea0d79a92f xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Tue May 15 10:03:14 2007 +0100
+++ b/xen/arch/x86/mm.c Tue May 15 10:03:58 2007 +0100
@@ -2261,7 +2261,7 @@ int do_mmu_update(
     struct vcpu *v = current;
     struct domain *d = v->domain;
     unsigned long type_info;
-    struct domain_mmap_cache mapcache, sh_mapcache;
+    struct domain_mmap_cache mapcache;
 
     if ( unlikely(count & MMU_UPDATE_PREEMPTED) )
     {
@@ -2285,7 +2285,6 @@ int do_mmu_update(
     }
 
     domain_mmap_cache_init(&mapcache);
-    domain_mmap_cache_init(&sh_mapcache);
 
     LOCK_BIGLOCK(d);
 
@@ -2447,7 +2446,6 @@ int do_mmu_update(
     UNLOCK_BIGLOCK(d);
 
     domain_mmap_cache_destroy(&mapcache);
-    domain_mmap_cache_destroy(&sh_mapcache);
 
     perfc_add(num_page_updates, i);
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: kill unused local variable sh_mapcache, Xen patchbot-unstable <=