WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] adjust page-alloc init function attributes

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] adjust page-alloc init function attributes
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Mon, 10 Dec 2007 09:21:28 +0000
Delivery-date: Mon, 10 Dec 2007 01:21:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: 2007-11-13/xen/common/page_alloc.c
===================================================================
--- 2007-11-13.orig/xen/common/page_alloc.c     2007-11-20 13:30:35.000000000 
+0100
+++ 2007-11-13/xen/common/page_alloc.c  2007-11-20 13:32:54.000000000 +0100
@@ -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;
@@ -701,7 +701,7 @@ void free_xenheap_pages(void *v, unsigne
  * DOMAIN-HEAP SUB-ALLOCATOR
  */
 
-void init_domheap_pages(paddr_t ps, paddr_t pe)
+void __init init_domheap_pages(paddr_t ps, paddr_t pe)
 {
     unsigned long s_tot, e_tot;
     unsigned int zone;




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] adjust page-alloc init function attributes, Jan Beulich <=