[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: invalidate_shadow_ldt() should be static



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1179219036 -3600
# Node ID a605044ecb33f64e19de95ed9a56cafea8a68a26
# Parent  b6f9f1148273afed135332410d4cbd67edcad0e9
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@xxxxxxxxxx>
---
 xen/arch/x86/mm.c        |    2 +-
 xen/include/asm-x86/mm.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff -r b6f9f1148273 -r a605044ecb33 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Mon May 14 15:19:46 2007 +0100
+++ b/xen/arch/x86/mm.c Tue May 15 09:50:36 2007 +0100
@@ -410,7 +410,7 @@ void update_cr3(struct vcpu *v)
 }
 
 
-void invalidate_shadow_ldt(struct vcpu *v)
+static void invalidate_shadow_ldt(struct vcpu *v)
 {
     int i;
     unsigned long pfn;
diff -r b6f9f1148273 -r a605044ecb33 xen/include/asm-x86/mm.h
--- a/xen/include/asm-x86/mm.h  Mon May 14 15:19:46 2007 +0100
+++ b/xen/include/asm-x86/mm.h  Tue May 15 09:50:36 2007 +0100
@@ -146,7 +146,6 @@ void init_frametable(void);
 
 int alloc_page_type(struct page_info *page, unsigned long type);
 void free_page_type(struct page_info *page, unsigned long type);
-void invalidate_shadow_ldt(struct vcpu *d);
 int _shadow_mode_refcounts(struct domain *d);
 
 static inline void put_page(struct page_info *page)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.