mm: add a basic debugging framework for memory initialisation
[safe/jmp/linux-2.6] / mm / mm_init.c
1 /*
2  * mm_init.c - Memory initialisation verification and debugging
3  *
4  * Copyright 2008 IBM Corporation, 2008
5  * Author Mel Gorman <mel@csn.ul.ie>
6  *
7  */
8 #include <linux/kernel.h>
9 #include <linux/init.h>
10
11 int __meminitdata mminit_loglevel;
12
13 static __init int set_mminit_loglevel(char *str)
14 {
15         get_option(&str, &mminit_loglevel);
16         return 0;
17 }
18 early_param("mminit_loglevel", set_mminit_loglevel);