Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp813391imm; Wed, 26 Sep 2018 07:12:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV610IqTDjcWAwE3kxrBBqyZtAd9plMfBtOObCTn5LXJo0fJSDqdbNNBgzMmvm2vBrNbc0Tkc X-Received: by 2002:a62:8145:: with SMTP id t66-v6mr6444713pfd.192.1537971175843; Wed, 26 Sep 2018 07:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537971175; cv=none; d=google.com; s=arc-20160816; b=EbbkAsA9C01zoD+T38FXLO/pfb3d9Allqc/pHG1nZ1xDVEcMjol+IFCs65/8yYbJPW lqs1P25seT7n5v4M755jH/j8Qjsvcv7KwKFz93nBJ5JfdUxU8HLrH/ST2o2xXqwgWA37 /2M6A/e1yy0FKEFMDnGbR65EqXsZdvFlI+EWNyMOVcBqKpb3gT+x7xYdBgR/qGbMNZfQ QhOijeX0L+5QdFP/nwrlqZxpfPJNqSB0ZIkyMhjdRXGo7HWG45Q7phGieK9KPMR7ZVYw KW6UpEKG4FNPCeW8xivdccJXf8/DMp8AP3asx2iM3Vv9rRzVfqyrtaps8QfbcmQTa8Ly F9iA== 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:dkim-signature; bh=hZ52ygBMlFoD8bPvzFpyWVqrCC2R1SvadCEhHpo+XMU=; b=XW8CTMwwdAuxF0NB+Ny0A/Q43cMcL4gGINaS6hhsn2D0a0qx8/SxlRWyAy5M4oVgIx Mk/BX/uBD0Z/h+QB8VZDf/9tjihQVo2l7Sb5aFFsIO5v9eo5cJ78hL7uBATOZQLter7N 1M2cTXXHAOE4ZkYK3D4V1dWy6furdrG1PqoyMVeb1MZo39seYpgmLcSl44jEbz1mhKEG /btse5kcm/GRU+j5Uv57YZmciwgs1C3gbbv/x8TMjrDjeiJXjsAZFqlfClWdomA0/43b oHS/RLWbEnjNtna75qtz/KV5390caeTgGBqY8ESASra6BH5SymqMr9KUPKJ400QyGwgT uc3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KM33zOJ7; 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 t19-v6si5132176pfm.152.2018.09.26.07.12.39; Wed, 26 Sep 2018 07:12:55 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KM33zOJ7; 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 S1727504AbeIZUZL (ORCPT + 99 others); Wed, 26 Sep 2018 16:25:11 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42938 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbeIZUZL (ORCPT ); Wed, 26 Sep 2018 16:25:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hZ52ygBMlFoD8bPvzFpyWVqrCC2R1SvadCEhHpo+XMU=; b=KM33zOJ72m1oKPSTq80xIo9xD YoH186K780QYxR8125SpLM9M7UmQnEYntWAF80VgJqtgN9TO4V9ZB3kaFkYpKvjDr5HYimUxVmo92 xy1njRPYwgImRyd9dELMhT0azJrYrX/5mHUFsf0YfCD/qvD4VYy+/FmK+VHd7BOHKpdQGB6yRO8TX mjRpeeWNvEMtFOPqlXm+4LIWL6ZG6nQpJ3tjQR5HzvxMFuO3AHdpazGEfSzxQASBuBIHwyK/iICcu 4mIjCCWVjLJ9CdbmaYPZyhuwItMNr2e+I5NBHUNV22/s/jbbrUxMdleRwus17f/WvFDmKZGMv/q97 YBWEqBlJw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5AXn-0007kS-Tl; Wed, 26 Sep 2018 14:11:59 +0000 Date: Wed, 26 Sep 2018 07:11:59 -0700 From: Christoph Hellwig To: Zong Li Cc: palmer@sifive.com, aou@eecs.berkeley.edu, hch@infradead.org, zong@andestech.com, vincentc@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines Message-ID: <20180926141159.GA28142@infradead.org> References: <7a24493868f29559a1628eed44af15dc10a9940a.1537949825.git.zongbox@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7a24493868f29559a1628eed44af15dc10a9940a.1537949825.git.zongbox@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 04:31:12PM +0800, Zong Li wrote: > diff --git a/lib/udivmoddi4.c b/lib/udivmoddi4.c > new file mode 100644 > index 0000000..6518b3a > --- /dev/null > +++ b/lib/udivmoddi4.c > @@ -0,0 +1,309 @@ needs and SPDX tag. > +/* > + * This program is free software; you can redistribute it and/or modify it under > + * the terms of the GNU General Public License as published by the Free > + * Software Foundation; either version 3, or (at your option) any later > + * version. We can't take GPLv3 code for the kernel. > + * Under Section 7 of GPL version 3, you are granted additional > + * permissions described in the GCC Runtime Library Exception, version > + * 3.1, as published by the Free Software Foundation. > + * > + * You should have received a copy of the GNU General Public License and > + * a copy of the GCC Runtime Library Exception along with this program; > + * see the files COPYING3 and COPYING.RUNTIME respectively. unless this exception somehow counts (which I doubt), but for that we'd actually need it in the tree.