ia64/xen-unstable

changeset 15095:a605044ecb33

x86: invalidate_shadow_ldt() should be static

Since invalidate_shadow_ldt() depends on process_deferred_ops() to be
called, it shouldn't be visible outside xen/arch/x86/mm.c.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Tue May 15 09:50:36 2007 +0100 (2007-05-15)
parents b6f9f1148273
children 75b4c7cb007d
files xen/arch/x86/mm.c xen/include/asm-x86/mm.h
line diff
     1.1 --- a/xen/arch/x86/mm.c	Mon May 14 15:19:46 2007 +0100
     1.2 +++ b/xen/arch/x86/mm.c	Tue May 15 09:50:36 2007 +0100
     1.3 @@ -410,7 +410,7 @@ void update_cr3(struct vcpu *v)
     1.4  }
     1.5  
     1.6  
     1.7 -void invalidate_shadow_ldt(struct vcpu *v)
     1.8 +static void invalidate_shadow_ldt(struct vcpu *v)
     1.9  {
    1.10      int i;
    1.11      unsigned long pfn;
     2.1 --- a/xen/include/asm-x86/mm.h	Mon May 14 15:19:46 2007 +0100
     2.2 +++ b/xen/include/asm-x86/mm.h	Tue May 15 09:50:36 2007 +0100
     2.3 @@ -146,7 +146,6 @@ void init_frametable(void);
     2.4  
     2.5  int alloc_page_type(struct page_info *page, unsigned long type);
     2.6  void free_page_type(struct page_info *page, unsigned long type);
     2.7 -void invalidate_shadow_ldt(struct vcpu *d);
     2.8  int _shadow_mode_refcounts(struct domain *d);
     2.9  
    2.10  static inline void put_page(struct page_info *page)