Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2062009imm; Tue, 2 Oct 2018 20:13:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV60sB+KDO9b71NAm3qJ6A2c6s8edo6iQGVHzsSVM2e3upQLSLcid7us8Z78xYcQatOxPSJVL X-Received: by 2002:a17:902:a989:: with SMTP id bh9-v6mr19127547plb.245.1538536396921; Tue, 02 Oct 2018 20:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538536396; cv=none; d=google.com; s=arc-20160816; b=UA2x2SHgnf0A871Ka8Crpm8HOt0k7CXd5axvEBTzgeXClvaY2yvB0ic36Zd8EvIAGT 1GGnxo85s5njPXmXV1z6w5/7FBH38RjTaT74sFH+kBielGWTjnyzIlTzQjTPftUFUdzB ofBpL9Q37zq1IHHc+XRe7+Vcb3K1Kyn7XniTlNxdjDyJi2FFFzbeCc8+FiSJsfpb9CPy QB5Gn4CrC9g6ngLiNh1P4J0LdQOAXU0s6JOKHd+YvEj+8tCh1i8n06g+MhTPtW0Xlh4L DpIZathWUMpiWuFe9JUNCi87qbe6Iw7zaTbbW1VJdj12XfM5+F6cHjJgfELTUvzVtZI0 AWJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=A8JtHAC5naJL8x4fNKDf/GkWKYU0n8LRslVlKTfoHeI=; b=qhWI9tEtmnreLpUhRWjhxYi+EgL/l/k1Cpb3tg9GCZOjeo72KqSOSZ3W/X6sTeJ4b2 YJ69AlI06thwhFx1ZLjXJ4HGk1x0PbzukZxKudxqTIiey43xAY4fx7EtzD+o7foKGG2A SJYw9cJvx1Qsq1p4CHzj9x3Ca9rGruafS38/aMaF/Q6avmNzHgFnNclnrMjgRati73S1 eiRGm5/g1BMIh9ReVauOanheVbph9OBzHN+bnJzHER63HpZQrHSrfU0STbRMzFSEPjTp yLPVg+H7eVaWvqHj6zHJvvGTrRxiflaAfQGm7nVJscv8GapIGtFBKmzOtlHpAbf8WnsW J05g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tqPKp5jA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si16622901pgg.330.2018.10.02.20.13.02; Tue, 02 Oct 2018 20:13:16 -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=pass header.i=@gmail.com header.s=20161025 header.b=tqPKp5jA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726797AbeJCJ7O (ORCPT + 99 others); Wed, 3 Oct 2018 05:59:14 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34122 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbeJCJ7N (ORCPT ); Wed, 3 Oct 2018 05:59:13 -0400 Received: by mail-pf1-f193.google.com with SMTP id k19-v6so960357pfi.1 for ; Tue, 02 Oct 2018 20:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=A8JtHAC5naJL8x4fNKDf/GkWKYU0n8LRslVlKTfoHeI=; b=tqPKp5jA79Clg4VZIqXQg3s2E+P5J/oGRzax/CJxZuFCpxgU2xRUiC+Erj/obA9aT2 rX+9tduecmxu5q0USuyVSrCJjjQp8UfG3Z/iA0e1DZG0par0c8r5KOdgIfYJpAt5W0Y+ kY8vZ7TehG3+yf7Y9fJuCNk8MplG/5d1Sj7DcUZ8WtSBIvSFbrxX+w4402v1rsGh2yv5 CrBDCZ1AKZdMilmmOiM6dHp3dFPt96RwaJAyCUVlOLH3ZDrDOWZqgTw9vEOvRmv45620 vwhGsg1+bUBlYZNLK30EUh/Oi7JtNTpm2SiukiYjSmR13KutmKfonvxiUtb2z1Yel3la Nt3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=A8JtHAC5naJL8x4fNKDf/GkWKYU0n8LRslVlKTfoHeI=; b=Y6ixCJKHx26bYOm3nwO5y+s8SFrKs5EKltGWRhCyHFWuIreORrJmQRoaD0HVuoY6aN kgTaFfOZc/7IW3MKEnVW+e28HOgxcy3PvFWcAYrbE/X6gijwvfqAz8TAaJT5S9zxwGDc 2sc5wZDD1jn6oW4Qmv4pOBBAPYZSAZge0cNFWodaeyUCLx75riXZTcrQWrCsNSS9qYIG GD+gTwTz7Pc7AK1lIUYJwJicIsY8zufMgRa2Vv2pe1QH3vkZzQOXeBkXMrzWsMkU7rzF +Difwzg9TucRFSwtZ+hfDjNvutnzkiGdj/8z+YK6OtvL4eUvcKuHSC50R5Ctt6TH4tU0 lvtQ== X-Gm-Message-State: ABuFfogatRCcvxxJVMO0y7jJfQdpHWrL8tqA9J9ZIwZKHQ6X79jOb46d BP8hJ+tjysm7iSA03SXJdHQ= X-Received: by 2002:a62:32c4:: with SMTP id y187-v6mr11625804pfy.4.1538536367018; Tue, 02 Oct 2018 20:12:47 -0700 (PDT) Received: from app09.andestech.com (59-120-53-16.HINET-IP.hinet.net. [59.120.53.16]) by smtp.gmail.com with ESMTPSA id v23-v6sm21777747pfm.80.2018.10.02.20.12.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 20:12:46 -0700 (PDT) From: Zong Li To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: hch@infradead.org, zong@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Zong Li Subject: [PATCH v4 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32 Date: Wed, 3 Oct 2018 11:10:01 +0800 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On RV32, it will use the __umoddi3. Select GENERIC_LIB_UMODDI3 to avoid undefined reference. Signed-off-by: Zong Li --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index a344980..dc262fa 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -108,6 +108,7 @@ config ARCH_RV32I select GENERIC_LIB_ASHRDI3 select GENERIC_LIB_LSHRDI3 select GENERIC_LIB_UCMPDI2 + select GENERIC_LIB_UMODDI3 config ARCH_RV64I bool "RV64I" -- 2.7.4