Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754516Ab1DDOQl (ORCPT ); Mon, 4 Apr 2011 10:16:41 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:7958 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754353Ab1DDOQj (ORCPT ); Mon, 4 Apr 2011 10:16:39 -0400 X-IronPort-AV: E=McAfee;i="5400,1158,6305"; a="83641668" Message-ID: <4D99D2C6.4040206@codeaurora.org> Date: Mon, 04 Apr 2011 10:16:38 -0400 From: Neil Leeder User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Will Deacon CC: Bryan Huntsman , Russell King - ARM Linux , Jean Pihet , Sheetal Sahasrabudhe , Nicolas Pitre , linux-arm-kernel@lists.infradead.org, jamie.iles@picochip.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: accessing vfpinstr macros from outside vfp directory References: <4D924966.2050707@codeaurora.org> <1301678843.17592.5.camel@e102144-lin.cambridge.arm.com> <4D96499B.5070402@codeaurora.org> <1301833480.5022.11.camel@jazzbox> In-Reply-To: <1301833480.5022.11.camel@jazzbox> Content-Type: text/plain; charset=UTF-8; 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: 1802 Lines: 52 Will and Bryan, On 4/3/2011 8:24 AM, Will Deacon wrote: > Hi Bryan, > > On Fri, 2011-04-01 at 22:54 +0100, Bryan Huntsman wrote: >> On 04/01/11 10:27, Will Deacon wrote: >>> Neil, >>> >>> On Tue, 2011-03-29 at 22:04 +0100, Neil Leeder wrote: >>>> Any opinions on what would be the best thing to do here? Choices >> appear to be: >>>> >>>> 1) allow the relative include path of ../vfp/vfpinstr.h >>>> 2) move the definitions of fmrx, fmxr from vfp/vfpinstr.h to >> include/asm/vfp.h >>>> 3) move vfp/vfpinstr.h to include/asm >>>> 4) other...? >>>> >>>> If it helps, I can create a patch for whichever is considered the >> preferred solution. >>>> >>> >>> I personally don't find option (1) that offensive - Bryan seemed to >>> differ though so perhaps option (2) would keep him happy? >>> >>> I don't think option (3) is sensible given that the majority of the >>> header file is private to /vfp. >>> >>> Will >> >> I raised it as a question. If that's the only sane thing to do here, >> then do it. Since no one else seems to have chimed in on (2) or (3), >> I'm fine with the patch as-is. > > Ok, great. Let's leave it like it is for the time-being and if other > people start using things from the vfp headers then we should consider > refactoring some of that code (currently I think it's restricted to this > patch series and some files under vfp/). Sounds good to me - thank you both for the comments. Neil -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum -- 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/