From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 23 Mar 2010 20:35:17 +0000 (-0700)
Subject: blackfin: enable DEBUG_SECTION_MISMATCH
X-Git-Tag: firefly_0821_release~9833^2~2527
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1d53661d26aa779dcd74f8a1c5a94e181cc101d8;p=firefly-linux-kernel-4.4.55.git

blackfin: enable DEBUG_SECTION_MISMATCH

We see only one section mismatch now after thousands of randconfigs, and a
bug has been filed about that one.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 8e5ec5e1ab91..1fafb4b99c9b 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -103,7 +103,8 @@ config HEADERS_CHECK
 
 config DEBUG_SECTION_MISMATCH
 	bool "Enable full Section mismatch analysis"
-	depends on UNDEFINED
+	depends on UNDEFINED || (BLACKFIN)
+	default y
 	# This option is on purpose disabled for now.
 	# It will be enabled when we are down to a reasonable number
 	# of section mismatch warnings (< 10 for an allyesconfig build)