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

[Xen-changelog] [xen-unstable] x86/mm: make paging_map_log_dirty_bitmap() static



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1292415150 0
# Node ID 1b1174b7181fbe96637db830ce965f089616010f
# Parent  f92ad250d80b47a4bcfe7632911f285ccf8cc552
x86/mm: make paging_map_log_dirty_bitmap() static
now that its only caller outside paging.c has been removed.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
 xen/arch/x86/mm/paging.c     |    3 ++-
 xen/include/asm-x86/paging.h |    3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff -r f92ad250d80b -r 1b1174b7181f xen/arch/x86/mm/paging.c
--- a/xen/arch/x86/mm/paging.c  Wed Dec 15 12:12:15 2010 +0000
+++ b/xen/arch/x86/mm/paging.c  Wed Dec 15 12:12:30 2010 +0000
@@ -132,7 +132,8 @@ static mfn_t paging_new_log_dirty_node(s
     return mfn;
 }
 
-mfn_t *paging_map_log_dirty_bitmap(struct domain *d)
+/* get the top of the log-dirty bitmap trie, allocating if necessary */
+static mfn_t *paging_map_log_dirty_bitmap(struct domain *d)
 {
     mfn_t *mapping;
 
diff -r f92ad250d80b -r 1b1174b7181f xen/include/asm-x86/paging.h
--- a/xen/include/asm-x86/paging.h      Wed Dec 15 12:12:15 2010 +0000
+++ b/xen/include/asm-x86/paging.h      Wed Dec 15 12:12:30 2010 +0000
@@ -134,9 +134,6 @@ struct paging_mode {
 /*****************************************************************************
  * Log dirty code */
 
-/* get the top of the log-dirty bitmap trie, allocating if necessary */
-mfn_t *paging_map_log_dirty_bitmap(struct domain *d);
-
 /* free log dirty bitmap resource */
 void paging_free_log_dirty_bitmap(struct domain *d);
 

_______________________________________________
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®.