]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: remove mm_init compilation dependency on CONFIG_DEBUG_MEMORY_INIT
authorNishanth Aravamudan <nacc@us.ibm.com>
Thu, 24 Jul 2008 04:27:39 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:17 +0000 (10:47 -0700)
commit5e9426abe209cf134adbbd62c5e73ef534eb73e9
treed253e0130b30fe5b30ca27cb1e7d59dad86fa086
parenta47a126ad5ea072aca3e611ed8f8dc6adad24bab
mm: remove mm_init compilation dependency on CONFIG_DEBUG_MEMORY_INIT

Towards the end of putting all core mm initialization in mm_init.c, I
plan on putting the creation of a mm kobject in a function in that file.
However, the file is currently only compiled if CONFIG_DEBUG_MEMORY_INIT
is set. Remove this dependency, but put the code under an #ifdef on the
same config option. This should result in no functional changes.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/Makefile
mm/mm_init.c