[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAQwhw9z0cuPyHVkwRYpyMFmmvVxZebkRnTrTi3dSxzJ0A@mail.gmail.com>
Date: Mon, 17 Oct 2016 11:10:08 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-arch@...r.kernel.org,
Peter Oberparleiter <oberpar@...ux.vnet.ibm.com>,
Arnd Bergmann <arnd@...db.de>,
Kees Cook <keescook@...omium.org>,
Michal Marek <mmarek@...e.com>, X86 ML <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Thomas Garnier <thgarnie@...gle.com>
Subject: Re: [PATCH] kconfig.h: remove config_enabled() macro
Hi Peter.
2016-10-17 3:44 GMT+09:00 <hpa@...or.com>:
>
> How is __is_defined() different from defined()?
defined() can be used only in pre-processor's #if context, like
#if defined(FOO)
...
#endif
__is_defined() can be used more flexibly.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists