Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759555Ab1EMQ1O (ORCPT ); Fri, 13 May 2011 12:27:14 -0400 Received: from mga02.intel.com ([134.134.136.20]:62713 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759041Ab1EMQ1M (ORCPT ); Fri, 13 May 2011 12:27:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,365,1301900400"; d="scan'208";a="746887225" From: Andi Kleen To: Jean-Christophe PLAGNIOL-VILLARD Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH v2] kconfig: autogenerated config_is_xxx macro References: <1304658229-30820-1-git-send-email-plagnioj@jcrosoft.com> Date: Fri, 13 May 2011 09:26:47 -0700 In-Reply-To: <1304658229-30820-1-git-send-email-plagnioj@jcrosoft.com> (Jean-Christophe PLAGNIOL-VILLARD's message of "Fri, 6 May 2011 07:03:49 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 595 Lines: 25 Jean-Christophe PLAGNIOL-VILLARD writes: > this will allow to use to use > > if(config_is_xxx()) > if(config_is_xxx_module()) > > in the code instead of > > #ifdef CONFIG_xxx > #ifdef CONFIG_xxx_MODULE Very nice idea. Acked-by: Andi Kleen -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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/