From: "Jan Beulich" Subject: [PATCH] adjust page-alloc init function attributes Date: Mon, 10 Dec 2007 09:21:28 +0000 Message-ID: <475D1328.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 Signed-off-by: Jan Beulich Index: 2007-11-13/xen/common/page_alloc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-11-13.orig/xen/common/page_alloc.c 2007-11-20 13:30:35.0000000= 00 +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 */ =20 -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;