Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1726542imm; Thu, 9 Aug 2018 00:34:18 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxdQn/AjNWgpBnHJSE8iLn2MrM2XBwk/rmGhxHNJbf78cCgLmlx4wBfPdOPoXd//KAZ2xy3 X-Received: by 2002:a63:4203:: with SMTP id p3-v6mr1032615pga.184.1533800058415; Thu, 09 Aug 2018 00:34:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533800058; cv=none; d=google.com; s=arc-20160816; b=syM9ysI2tArUAvte5C3EHFkA1ebRwI5Vy5sFiFpqRoTxs1STw1npexQQP6HMlYL702 igpBy2FnEz2mHWGBD+342QnDU1Uoh4vi74HZsHuQCW8WTIXC9spGkehXufqnUaGq+v6t z2900/13mDYI2JLiKwV0idD/pneMJN5WLnxHwEBDt14Bm3DWskvlwUXqlV1Pg0jTRHxz iFv2yrEDRt0UQDBypJDLQjjItNlW0QaCsMoST4qkfmuBPRaa568TilNUTHOBVg5Yz3wK XU3wfR2765sFSGTQgtXRiwZJLC/1T5bOyp42wfSDcDBSOk6lO+G6qgdXRmyfKJjU3tdr 4hYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=AGs82Cd9Zc+pwcl5z7wvFDl+x3RUDzVLfHaxLaRPsWI=; b=XNhOW40kNrz8PeZ7krfXV9ULu7OkVHdjoA3a/EVpl++bnG2O6UmxODtEiZSNTRoC8B o11I7niNA+OBM5kNkc8mLv8IeMuZiLLiqHA8+QGOJnlAaXYDm109mtuEleMLjTpIM2wd 1CaWVX0lYV02z23l04UQKsRsxiGGMf2touUVzEvTVsvzFt6oSIrED07h9z9UhwiwZIEa 4BiPsfbuCR0VAD30nXhCSrNnJDhW9mz7q5GDeRmUXAmiV4OpKq7sq7Nz1iJEKh7LqHtU lC432ZWpPHNo1BM1TpfxAc+lwzCn7bb71pwoUHKHpWrF5W1pYJPJ9fxHp4+/mVSb7NRi tfqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15-v6si5239515plo.284.2018.08.09.00.34.03; Thu, 09 Aug 2018 00:34:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728408AbeHIJ4n (ORCPT + 99 others); Thu, 9 Aug 2018 05:56:43 -0400 Received: from exmail.andestech.com ([59.124.169.137]:48406 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727237AbeHIJ4n (ORCPT ); Thu, 9 Aug 2018 05:56:43 -0400 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id w797W4CE096864; Thu, 9 Aug 2018 15:32:04 +0800 (GMT-8) (envelope-from alankao@andestech.com) Received: from andestech.com (10.0.1.85) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Thu, 9 Aug 2018 15:32:59 +0800 Date: Thu, 9 Aug 2018 15:33:00 +0800 From: Alan Kao To: Christoph Hellwig CC: , Andrew Waterman , "Arnd Bergmann" , , , Darius Rad , Palmer Dabbelt , , Albert Ou , , Subject: Re: [PATCH v5 5/5] Auto-detect whether a FPU exists Message-ID: <20180809073300.GB18746@andestech.com> References: <1533796003-680-1-git-send-email-alankao@andestech.com> <1533796003-680-6-git-send-email-alankao@andestech.com> <20180809063124.GA26062@infradead.org> <20180809064336.GA18746@andestech.com> <20180809070258.GA11082@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180809070258.GA11082@infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.0.1.85] X-DNSRBL: X-MAIL: ATCSQR.andestech.com w797W4CE096864 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 09, 2018 at 12:02:58AM -0700, Christoph Hellwig wrote: > On Thu, Aug 09, 2018 at 02:43:36PM +0800, Alan Kao wrote: > > It does look a little bit weird. Should I send a v6 for this? > > Yes, please resend the series or just this patch. > > I think the hswap.h definition should go away and we should just > keep the switch_to.h one, even if that means including the header > in another C file. > It turns out that only cpufeature.c and switch_to.h are affected by hwcap.h. As switch_to.h already had extern has_fpu declaration, the one in hwcap.h is redundant and can be removed safely. I will resend just this patch, and mark it as v6.