[xen-unstable] init_heap_pages() can be static.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen-unstable] init_heap_pages() can be static.

Xen patchbot-unstable
# HG changeset patch
# User Keir Fraser <[hidden email]>
# Date 1197286633 0
# Node ID 38a45b7c6cb59da250ff08235a007894310c3f3f
# Parent  207ad1afe9bb264431de0f6568d6c4ece88b2ef9
init_heap_pages() can be static.
Signed-off-by: Jan Beulich <[hidden email]>
---
 xen/common/page_alloc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 207ad1afe9bb -r 38a45b7c6cb5 xen/common/page_alloc.c
--- a/xen/common/page_alloc.c Mon Dec 10 11:34:02 2007 +0000
+++ b/xen/common/page_alloc.c Mon Dec 10 11:37:13 2007 +0000
@@ -503,7 +503,7 @@ static void free_heap_pages(
  * not freeing it to the buddy allocator.
  */
 #define MAX_ORDER_ALIGNED (1UL << (MAX_ORDER))
-void init_heap_pages(
+static void init_heap_pages(
     unsigned int zone, struct page_info *pg, unsigned long nr_pages)
 {
     unsigned int nid_curr, nid_prev;

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog