From: "Luis R. Rodriguez" <mcg...@suse.com> Replace #ifdef eyesore with IS_ENABLED() use.
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: Tony Lindgren <t...@atomide.com> Cc: linux-kernel@vger.kernel.org Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin" <h...@zytor.com> Cc: x...@kernel.org Cc: Juergen Gross <jgr...@suse.com> Cc: Andy Lutomirski <l...@amacapital.net> Cc: Toshi Kani <toshi.k...@hp.com> Cc: Dave Hansen <dave.han...@linux.intel.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Pavel Machek <pa...@ucw.cz> Cc: Xishi Qiu <qiuxi...@huawei.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: David Vrabel <david.vra...@citrix.com> Cc: Borislav Petkov <b...@suse.de> Cc: Vlastimil Babka <vba...@suse.cz> Cc: Joonsoo Kim <iamjoonsoo....@lge.com> Cc: Dexuan Cui <de...@microsoft.com> Signed-off-by: Luis R. Rodriguez <mcg...@suse.com> --- arch/x86/mm/init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 52417e7..b880d06 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -131,11 +131,7 @@ void __init early_alloc_pgt_buf(void) int after_bootmem; -int direct_gbpages -#ifdef CONFIG_DIRECT_GBPAGES - = 1 -#endif -; +int direct_gbpages = IS_ENABLED(CONFIG_DIRECT_GBPAGES); static void __init init_gbpages(void) { -- 2.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/