x86/xen: resume timer irqs early
[linux/fpc-iii.git] / arch / cris / mm / init.c
blobc81af5bd916792791ea05baf006270cf459fb26a
1 /*
2 * linux/arch/cris/mm/init.c
4 * Copyright (C) 1995 Linus Torvalds
5 * Copyright (C) 2000,2001 Axis Communications AB
7 * Authors: Bjorn Wesen (bjornw@axis.com)
9 */
11 #include <linux/gfp.h>
12 #include <linux/init.h>
13 #include <linux/bootmem.h>
14 #include <asm/tlb.h>
15 #include <asm/sections.h>
17 unsigned long empty_zero_page;
19 void __init
20 mem_init(void)
22 BUG_ON(!mem_map);
24 /* max/min_low_pfn was set by setup.c
25 * now we just copy it to some other necessary places...
27 * high_memory was also set in setup.c
29 max_mapnr = max_low_pfn - min_low_pfn;
30 free_all_bootmem();
31 mem_init_print_info(NULL);
34 /* free the pages occupied by initialization code */
36 void
37 free_initmem(void)
39 free_initmem_default(-1);