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

[Xen-devel] [PATCH] x86: kill unused local variable sh_mapcache

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86: kill unused local variable sh_mapcache
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Mon, 14 May 2007 17:12:24 +0200
Delivery-date: Mon, 14 May 2007 08:10:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Apparently a leaf-over from pre-3.0.3.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: 2007-05-14/xen/arch/x86/mm.c
===================================================================
--- 2007-05-14.orig/xen/arch/x86/mm.c   2007-05-14 08:39:16.000000000 +0200
+++ 2007-05-14/xen/arch/x86/mm.c        2007-05-14 08:40:14.000000000 +0200
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: kill unused local variable sh_mapcache, Jan Beulich <=