From 2b6f7dab1ed7f3633053d83fc61fb23d4f10d09f Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 9 Jun 2015 16:12:21 +0200 Subject: kernel: don't add DEBUG_SECTION_MISMATCH=y by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Michael Olbrich --- platforms/kernel.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'platforms') diff --git a/platforms/kernel.in b/platforms/kernel.in index 820d107a3..ded878463 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -256,18 +256,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 -- cgit v1.2.3