mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
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 <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>