CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH?

From: Peter Teoh
Date: Sat Feb 02 2008 - 11:21:08 EST


I supposed CONFIG_SECTION_MISMATCH has been deprecated by
CONFIG_DEBUG_SECTION_MISMATCH, as I found
CONFIG_DEBUG_SECTION_MISMATCH in Makefile, Makefile.build and
Makefile.modpost, but not the former symbol. Moreover, setting the
symbol in .config, and followed by make oldconfig will result in the
non-debug symbol disappearing, but not the debug version. Am I
correct?

Signed-off-by: Peter Teoh <htmldeveloper@xxxxxxxxx>

--- scripts/mod/modpost.c.orig 2008-02-02 15:18:04.000000000 +0800
+++ scripts/mod/modpost.c 2008-02-02 15:18:47.000000000 +0800
@@ -1942,7 +1942,7 @@ int main(int argc, char **argv)
"To see additional details select \"Enable full "
"Section mismatch analysis\"\n"
"in the Kernel Hacking menu "
- "(CONFIG_SECTION_MISMATCH).\n", sec_mismatch_count);
+ "(CONFIG_DEBUG_SECTION_MISMATCH).\n",
sec_mismatch_count);

return err;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/