ia64/xen-unstable

changeset 15100:05ea0d79a92f

x86: kill unused local variable sh_mapcache
Apparently a leaf-over from pre-3.0.3.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Tue May 15 10:03:58 2007 +0100 (2007-05-15)
parents e72e94d2987c
children b2adb797900a
files xen/arch/x86/mm.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Tue May 15 10:03:14 2007 +0100
     1.2 +++ b/xen/arch/x86/mm.c	Tue May 15 10:03:58 2007 +0100
     1.3 @@ -2261,7 +2261,7 @@ int do_mmu_update(
     1.4      struct vcpu *v = current;
     1.5      struct domain *d = v->domain;
     1.6      unsigned long type_info;
     1.7 -    struct domain_mmap_cache mapcache, sh_mapcache;
     1.8 +    struct domain_mmap_cache mapcache;
     1.9  
    1.10      if ( unlikely(count & MMU_UPDATE_PREEMPTED) )
    1.11      {
    1.12 @@ -2285,7 +2285,6 @@ int do_mmu_update(
    1.13      }
    1.14  
    1.15      domain_mmap_cache_init(&mapcache);
    1.16 -    domain_mmap_cache_init(&sh_mapcache);
    1.17  
    1.18      LOCK_BIGLOCK(d);
    1.19  
    1.20 @@ -2447,7 +2446,6 @@ int do_mmu_update(
    1.21      UNLOCK_BIGLOCK(d);
    1.22  
    1.23      domain_mmap_cache_destroy(&mapcache);
    1.24 -    domain_mmap_cache_destroy(&sh_mapcache);
    1.25  
    1.26      perfc_add(num_page_updates, i);
    1.27