From mboxrd@z Thu Jan 1 00:00:00 1970 From: liuj97@gmail.com (Jiang Liu) Date: Sun, 15 Dec 2013 19:07:25 +0800 Subject: [PATCH v6 6/7] arm64, jump label: optimize jump label implementation In-Reply-To: <20131213105223.664f960b@gandalf.local.home> References: <1386691433-6827-1-git-send-email-liuj97@gmail.com> <1386691433-6827-7-git-send-email-liuj97@gmail.com> <20131213154104.GG19177@mudshark.cambridge.arm.com> <20131213105023.67e45640@gandalf.local.home> <20131213105223.664f960b@gandalf.local.home> Message-ID: <52AD8D6D.6090303@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 12/13/2013 11:52 PM, Steven Rostedt wrote: > On Fri, 13 Dec 2013 10:50:23 -0500 > Steven Rostedt wrote: > >> On Fri, 13 Dec 2013 15:41:04 +0000 >> Will Deacon wrote: >> >>>> +#include >>>> +#include >>>> +#include >>>> +#include >>>> + >>>> +#ifdef HAVE_JUMP_LABEL >>> >>> Slightly worrying... this should be CONFIG_HAVE_JUMP_LABEL, right? How did >>> you manage to test this code? >> >> In we have: >> >> #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) >> >> [...] >> >> # include > > This also makes the include of in the C file > redundant. > > -- Steve Thanks, Steve. Will remove the redundant include header file. > >> # define HAVE_JUMP_LABEL >> #endif /* CC_HAVE_ASM_GOTO && CONFIG_JUMP_LABEL */ >> >> >> -- Steve > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754145Ab3LOLHq (ORCPT ); Sun, 15 Dec 2013 06:07:46 -0500 Received: from mail-pb0-f49.google.com ([209.85.160.49]:35333 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275Ab3LOLHo (ORCPT ); Sun, 15 Dec 2013 06:07:44 -0500 Message-ID: <52AD8D6D.6090303@gmail.com> Date: Sun, 15 Dec 2013 19:07:25 +0800 From: Jiang Liu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Steven Rostedt CC: Will Deacon , Catalin Marinas , Sandeepa Prabhu , AKASHI Takahiro , Marc Zyngier , Mark Rutland , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v6 6/7] arm64, jump label: optimize jump label implementation References: <1386691433-6827-1-git-send-email-liuj97@gmail.com> <1386691433-6827-7-git-send-email-liuj97@gmail.com> <20131213154104.GG19177@mudshark.cambridge.arm.com> <20131213105023.67e45640@gandalf.local.home> <20131213105223.664f960b@gandalf.local.home> In-Reply-To: <20131213105223.664f960b@gandalf.local.home> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/13/2013 11:52 PM, Steven Rostedt wrote: > On Fri, 13 Dec 2013 10:50:23 -0500 > Steven Rostedt wrote: > >> On Fri, 13 Dec 2013 15:41:04 +0000 >> Will Deacon wrote: >> >>>> +#include >>>> +#include >>>> +#include >>>> +#include >>>> + >>>> +#ifdef HAVE_JUMP_LABEL >>> >>> Slightly worrying... this should be CONFIG_HAVE_JUMP_LABEL, right? How did >>> you manage to test this code? >> >> In we have: >> >> #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) >> >> [...] >> >> # include > > This also makes the include of in the C file > redundant. > > -- Steve Thanks, Steve. Will remove the redundant include header file. > >> # define HAVE_JUMP_LABEL >> #endif /* CC_HAVE_ASM_GOTO && CONFIG_JUMP_LABEL */ >> >> >> -- Steve >