/* This enables the unused memory to be freed on older Acorn machines. We are freeing memory on behalf of the architecture initialisation code here.  */
static void free_unused_pages(unsigned int virtual_start, unsigned int virtual_end)
/* This enables the unused memory to be freed on older Acorn machines. We are freeing memory on behalf of the architecture initialisation code here.  */
static void free_unused_pages(unsigned int virtual_start, unsigned int virtual_end)
{
	int mb_freed = 0;
	virtual_start = PAGE_ALIGN(virtual_start);
	virtual_end = PAGE_ALIGN(virtual_end);
	while (virtual_start < virtual_end) {
		struct page *page;
		page = virt_to_page(virtual_start);
		ClearPageReserved(page);
		init_page_count(page);
		free_page(virtual_start);
		virtual_start += PAGE_SIZE;
		mb_freed += PAGE_SIZE / 1024;
	}
	printk("acornfb: freed %dK memory\n", mb_freed);
}