x86/mm: make paging_map_log_dirty_bitmap() static
authorKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 12:12:30 +0000 (12:12 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 12:12:30 +0000 (12:12 +0000)
now that its only caller outside paging.c has been removed.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/paging.c
xen/include/asm-x86/paging.h

index f429d0b337ce54991fda405002506ed05fce68bb..1436add2a3046a074c3b70b2f73b4d8e1e2fa7ba 100644 (file)
@@ -132,7 +132,8 @@ static mfn_t paging_new_log_dirty_node(struct domain *d, mfn_t **node_p)
     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;
 
index 1cba67cd11fcb1f26f9893b79de407bbbc54b4bd..a176c9687772517f892dde38381f3f681a78b798 100644 (file)
@@ -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);