Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4982268imm; Tue, 18 Sep 2018 02:21:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ/WByZSmG4a+kKq3GyynG1wbxg52oBd9CtuPvM0f64Iw/p4BF3zLe2Yi/9sP+dzsueSWqX X-Received: by 2002:a63:bd41:: with SMTP id d1-v6mr27175283pgp.309.1537262478327; Tue, 18 Sep 2018 02:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537262478; cv=none; d=google.com; s=arc-20160816; b=BgWxlrN8gMJqVJcYHNdDrIm2oPaunBMYM2UAMXr7B+eSm11Z6f5EXiaewqcwwkdw++ y60DpI+OQMKl3GBTsJLzPU2ulxRAHOFylUzzXYfRvmc9yQumJ01aopaTOxb9wA5t7fk7 BBzNtgOc5m+kHTxk+/9ci4nDGSc2uhA/s0TtNdBVDM2tvCjHkunDdlhuqOL0obbgFtDM mKuiGsNojZR6Qg/doRnsIYRwLwDhtFNMYDEKWeolVJjimKZb/xKtuMdTTW16UvFiu4jS kbuuGNwPSPf4ddo0lHPIWuWFwjmGSD5mWLTyQXiZOeKjBCZhl4HqtuWCSzEMo4IvRe6W LJ5Q== 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=KwSJ/ddsrLXBKVax3TPyV5fU4fUUHvzkXBSHRSHeQgk=; b=yrYlYlX4ZBm7dMD9wTJoWHnFxWoqlaAZKVX+iEzsm/4/a7QwyDQIRTQYM7b8zMzp8J JDD0pqlEcBInSIJr/QKXEdCxpJ57qJ0gPRg/itXAedS2elajQm+auBA50B9La7LShCky 2kYCmvx/QH4vJzRx4skbdBrDm58PytFGAAxC1zgkvhfGF0mcrQztyJdt496eCrVzXG4R 5cb07t+Rc7haI19ggdqavAMsRKhLzKi2U1FmIQSk8rXFwxDYDDcqYS0U8/iY3d0Na+Gt SGhFZsBd+60ZL24iZrkqBBwBo5Rz+xY+GoUdq/RZ+yDa45P+4qoiR3+LbAsrt/z4isKj e5RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="NCE2/EOV"; 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 b34-v6si17444599pld.394.2018.09.18.02.21.03; Tue, 18 Sep 2018 02:21: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="NCE2/EOV"; 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 S1729613AbeIROwk (ORCPT + 99 others); Tue, 18 Sep 2018 10:52:40 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:46476 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbeIROwj (ORCPT ); Tue, 18 Sep 2018 10:52:39 -0400 Received: by mail-pl1-f193.google.com with SMTP id t19-v6so687532ply.13 for ; Tue, 18 Sep 2018 02:20:56 -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=KwSJ/ddsrLXBKVax3TPyV5fU4fUUHvzkXBSHRSHeQgk=; b=NCE2/EOVIcgjQlUIRrZGWPk0zdUxPJDWRuuTOY8E4je42eXRGiBuJmomhE0RpVhzG5 WzHemaoFD2Mdj4W5M6YIlfxwSuYufmoFSjlAHVHAyM1Xgktwtsn/FgGPM4942EPJ6o1/ VpNjzO9ls8P+6PPjPCjLowWnr8eqzIPYh/OzF0jKFy2kLG28rA7wqu5dWUrQSbwh8rkO +bUWm1/8tnufGm6VBAHSHETsGrswlL+RamcNsmCTXR+7ckWm/1Hfc6OUJbMK2saXHInX pzVDhpHkkKzA7uRVpNDjsXkyF/g+t4DluVtUNTI9J98LMrBoAnCZWoj+KPsp9V9478VG ndeg== 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=KwSJ/ddsrLXBKVax3TPyV5fU4fUUHvzkXBSHRSHeQgk=; b=BH7xnb/nQLGMgCq9dX7INWfTxf3f7FqLHiBWE41jljnCS/3ZrwuyMRAmddT9jpmw9z xAbqHvqa5xxadGqv8uBV/KZ/N6YKhnY9wp2ctCHUy8Wro1zFPOC3SXEBTWNMMYA6agxL Qt45lu8Av03K/c+ET4jL+qy/3Rpyl3PcNutoP0ZT54yyoO28czRux/IaXcTwCL1kIV4v GVMT8rIgW8c9oM1PizGtNcavpDoU6Vpd2OzJO6SslKAPT7jvRZsfBmmPH+yQityiLuCL ifJTggakEiS5Wm2dh1zcmP7huJp76De8EsLiyEKoqBGwKW4uMX99+cBEjaGqJ0eSLvO3 7nbg== X-Gm-Message-State: APzg51AYX67YG1BddvtqUQKSFdeEh2MIt0ZCkwfGrrXaH2lk/vRDexw3 n41fKlVV7O8+wkfantcQAOg= X-Received: by 2002:a17:902:a413:: with SMTP id p19-v6mr28506846plq.220.1537262455740; Tue, 18 Sep 2018 02:20:55 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id 1-v6sm29932877pfm.145.2018.09.18.02.20.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Sep 2018 02:20:55 -0700 (PDT) From: Zong Li To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: vincentc@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, zong@andestech.com, Zong Li Subject: [PATCH 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32 Date: Tue, 18 Sep 2018 17:19:16 +0800 Message-Id: <609ae2448aab79dea99888bf5c72d1eb9877c7c3.1537260207.git.zongbox@gmail.com> 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 32-bit, it need to use __umoddi3 by some drivers. 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