[PARISC] Use DEBUG_KERNEL to catch used-after-free __init data
authorHelge Deller <deller@parisc-linux.org>
Sun, 15 Jan 2006 19:11:50 +0000 (12:11 -0700)
committerKyle McMartin <kyle@duet.int.mcmartin.ca>
Mon, 23 Jan 2006 01:26:55 +0000 (20:26 -0500)
Use CONFIG_DEBUG_KERNEL to catch kernel code which tries to access
__init data after it is freed. When CONFIG_DEBUG_KERNEL is not set
this also cleans up a WARN_ON at boot time. Also remove some dead
code from mm/init.c

Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>

No differences found