2 * (C) Copyright 2007-2010 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 * This file is released under the GPLv2. See the COPYING file for more
18 * Initialize fields in a struct page
20 static void __init_page(struct page
*page
)
22 INIT_LIST_HEAD(&page
->buddy
);
26 * Initialize struct page for each available page
32 for(pnum
=0; pnum
< (memsize
>>PAGE_SHIFT
); pnum
++)
33 __init_page(page_num_to_ptr(pnum
));