Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758526Ab1EMKiG (ORCPT ); Fri, 13 May 2011 06:38:06 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46267 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757425Ab1EMKiD (ORCPT ); Fri, 13 May 2011 06:38:03 -0400 Message-ID: <4DCD0A08.3090208@suse.cz> Date: Fri, 13 May 2011 12:38:00 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: Alexey Dobriyan Cc: Ingo Molnar , Jean-Christophe PLAGNIOL-VILLARD , Arnaud Lacombe , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, x86@kernel.org, Ingo Molnar Subject: Re: [PATCH v2] kconfig: autogenerated config_is_xxx macro References: <1304658229-30820-1-git-send-email-plagnioj@jcrosoft.com> <20110507015041.GA21017@game.jcrosoft.org> <4DC7AB57.9050002@suse.cz> <20110513080909.GO18952@game.jcrosoft.org> <20110513083013.GC13647@elte.hu> <20110513083652.GP18952@game.jcrosoft.org> <20110513100152.GN13647@elte.hu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 519 Lines: 18 On 13.5.2011 12:21, Alexey Dobriyan wrote: > Why it looks like a function call? > > In fact one can even do > > if (CONFIG_PCI_BIOS&& !rt->signature) { > > for boolean options. That unfortunately doesn't work, CONFIG_* macros are not defined if not enabled. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/