From: Tim Deegan Subject: [PATCH 3 of 3] x86/mm: make paging_map_log_dirty_bitmap() static Date: Wed, 15 Dec 2010 11:59:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Tim Deegan # Date 1292411070 0 # Node ID b04de0671fd49adbf9d88d2fdea38d9c1f5c822e # Parent 5bfe5ec812ff7019d4dcb5a7574926027e03f984 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 diff -r 5bfe5ec812ff -r b04de0671fd4 xen/arch/x86/mm/paging.c --- a/xen/arch/x86/mm/paging.c Wed Dec 15 11:03:32 2010 +0000 +++ b/xen/arch/x86/mm/paging.c Wed Dec 15 11:04: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 5bfe5ec812ff -r b04de0671fd4 xen/include/asm-x86/paging.h --- a/xen/include/asm-x86/paging.h Wed Dec 15 11:03:32 2010 +0000 +++ b/xen/include/asm-x86/paging.h Wed Dec 15 11:04: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);