All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] kconfigh-use-already-defined-macros-for-is_reachable-define.patch removed from -mm tree
@ 2016-06-22 21:29 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-06-22 21:29 UTC (permalink / raw)
  To: yamada.masahiro, arnd, michal.simek, mmarek, nicolas.pitre,
	rusty, mm-commits


The patch titled
     Subject: kconfig.h: use already defined macros for IS_REACHABLE() define
has been removed from the -mm tree.  Its filename was
     kconfigh-use-already-defined-macros-for-is_reachable-define.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: kconfig.h: use already defined macros for IS_REACHABLE() define

For the same reason as commit 02d699f1f464 ("include/linux/kconfig.h: ese
macros which are already defined"), it is better to use macros
IS_BUILTIN() and IS_MODULE() for defining IS_REACHABLE().

Link: http://lkml.kernel.org/r/1465883938-25194-3-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/kconfig.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN include/linux/kconfig.h~kconfigh-use-already-defined-macros-for-is_reachable-define include/linux/kconfig.h
--- a/include/linux/kconfig.h~kconfigh-use-already-defined-macros-for-is_reachable-define
+++ a/include/linux/kconfig.h
@@ -42,8 +42,8 @@
  * This is similar to IS_ENABLED(), but returns false when invoked from
  * built-in code when CONFIG_FOO is set to 'm'.
  */
-#define IS_REACHABLE(option) (config_enabled(option) || \
-		 (config_enabled(option##_MODULE) && __is_defined(MODULE)))
+#define IS_REACHABLE(option) (IS_BUILTIN(option) || \
+		 (IS_MODULE(option) && __is_defined(MODULE)))
 
 /*
  * IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',
_

Patches currently in -mm which might be from yamada.masahiro@socionext.com are

tree-wide-replace-config_enabled-with-is_enabled.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-22 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 21:29 [merged] kconfigh-use-already-defined-macros-for-is_reachable-define.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.