The patch titled Subject: include/linux/kconfig.h: ese macros which are already defined has been added to the -mm tree. Its filename is kconfig-use-macros-which-are-already-defined.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kconfig-use-macros-which-are-already-defined.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kconfig-use-macros-which-are-already-defined.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Michal Simek <monstr@xxxxxxxxx> Subject: include/linux/kconfig.h: ese macros which are already defined It is better to use macros which are already available because then there is just one location which needs to be change. Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/kconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/kconfig.h~kconfig-use-macros-which-are-already-defined include/linux/kconfig.h --- a/include/linux/kconfig.h~kconfig-use-macros-which-are-already-defined +++ a/include/linux/kconfig.h @@ -28,7 +28,7 @@ * */ #define IS_ENABLED(option) \ - (config_enabled(option) || config_enabled(option##_MODULE)) + (IS_BUILTIN(option) || IS_MODULE(option)) /* * IS_BUILTIN(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y', 0 _ Patches currently in -mm which might be from monstr@xxxxxxxxx are microblaze-mb-remove-use-of-seq_printf-return-value.patch microblaze-mb-remove-use-of-seq_printf-return-value-fix.patch kconfig-use-macros-which-are-already-defined.patch kconfig-use-macros-which-are-already-defined-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html