Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758670AbaKUP1x (ORCPT ); Fri, 21 Nov 2014 10:27:53 -0500 Received: from cantor2.suse.de ([195.135.220.15]:56191 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758199AbaKUP1w (ORCPT ); Fri, 21 Nov 2014 10:27:52 -0500 Date: Fri, 21 Nov 2014 16:27:57 +0100 (CET) From: Jiri Kosina To: Josh Poimboeuf cc: Seth Jennings , Vojtech Pavlik , Steven Rostedt , Petr Mladek , Miroslav Benes , Christoph Hellwig , Greg KH , Andy Lutomirski , Masami Hiramatsu , live-patching@vger.kernel.org, x86@kernel.org, kpatch@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCHv3 2/3] kernel: add support for live patching In-Reply-To: <20141121152103.GB26264@treble.redhat.com> Message-ID: References: <1416522580-5593-1-git-send-email-sjenning@redhat.com> <1416522580-5593-3-git-send-email-sjenning@redhat.com> <20141121152103.GB26264@treble.redhat.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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 On Fri, 21 Nov 2014, Josh Poimboeuf wrote: > I think we can use "depends on HAVE_FENTRY" to accomplish this, since > CC_USING_FENTRY gets set by the top level kernel Makefile if > CONFIG_HAVE_FENTRY is set. The problem is that HAVE_FENTRY is set automatically on x86_64, no matter whether your actual compiler supports it or not. CC_USING_FENTRY is defined if and only if the actual currently used compiler supports it, but that can't be expressed in Kconfig. -- Jiri Kosina SUSE Labs -- 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/