DEBUG_SECTION_MISMATCH is a development option that shouldn't be used in production settings so IMHO it's not sensible to add it as default setting.
Moreover do some minor wording cleanups. Signed-off-by: Uwe Kleine-König <[email protected]> --- platforms/kernel.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/kernel.in b/platforms/kernel.in index 2b44ec1e2d40..9f1536ae9837 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -252,18 +252,18 @@ comment "Development features" config KERNEL_EXTRA_MAKEVARS string - default "CONFIG_DEBUG_SECTION_MISMATCH=y" + default "" prompt "Additional kbuild options" help Specify extra parameters for the kernel build system here. Useful options include: * CONFIG_DEBUG_SECTION_MISMATCH=y - Enable this feature if you want kernel's builsystem to check for + Enable this feature if you want the kernel's buildsystem to check for section mismatches (__devinit/__devexit, __init/__exit). This entry is valid for 2.6.25 kernels and above. Previous kernel versions do this check automatically. Enabling this feature is recommended - for kernel development. + for kernel development only because it changes how code is inlined. Changing this entry will rebuild the whole kernel. * C=1 -- 2.1.4 -- ptxdist mailing list [email protected]
