Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp467316imm; Wed, 26 Sep 2018 01:33:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV626mhPfLK9Fta4VPsCli5a5rxM4bb6tBZLKBIBW30J2WeYZNhw723+RnvA/mTeDoE+kusj0 X-Received: by 2002:a17:902:6bc1:: with SMTP id m1-v6mr2889446plt.148.1537950827816; Wed, 26 Sep 2018 01:33:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537950827; cv=none; d=google.com; s=arc-20160816; b=obBWL5lCVtikNnWiKuIS12YMe0QO0MF6WW41Dy0hhw1AiUoSe+ShNnRWfvO2tk4ILP vHzWr0J7oLRjFqv6AFWYk2KQqj9L9eO9A1IN2svI3RdSlLLkg2wUZ3bFTNuvGXPEZ8rs AvaUksKu2lsVuf8cw7OzVREvmH4hj9uV+MUIOnC2TOBM71gw7QtFGLMrXMuV2CB1amLt ik/xR6uIwLBuIH5mHwsULNJSmrbioUua1RYjwKBTZhdNjY+OA8tH67TSVpwlULatP+xS tPt64xv6rqQApLx3Y0Df96oqyTFHLRj+PjIA+ztS36J1OkRRVVsE4lrTcBSRa6jk5eEc RNow== 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=KqvrilZqlMQrsgkzfAgk6vsiX36iEr61n7srXnmi2OWyMKMatMp68D8XXLl8G8b4LV pr9PxOsFX+ohHHznEwGLGmBoRhy1IMbHi8GrbPGmQRUC0iiXQ4+xH+Z7+PPaqbkaKXUl foJ3tN0/dIz2IFmQzZs305ghM4H0oOFu/q66B9HzmqMTDoGxF9pVHai9Y0rQPBXPJkuN X9mof+jOHIHNZqBHixCwA9VyO1er74PgNackU+7hdCMwK36fLN5xspwxdER9/TO8NJF6 0CZ8LQ77EgPBDqla1wV/Pj+wOcL7wHO7UrmNewJXnQsiQcvyov/VjbYnP7tsrlhYpvZQ 9iFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j+lLjpdw; 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 c17-v6si4656086pgc.158.2018.09.26.01.33.32; Wed, 26 Sep 2018 01:33:47 -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=j+lLjpdw; 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 S1727265AbeIZOox (ORCPT + 99 others); Wed, 26 Sep 2018 10:44:53 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37626 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727244AbeIZOow (ORCPT ); Wed, 26 Sep 2018 10:44:52 -0400 Received: by mail-pl1-f195.google.com with SMTP id az3-v6so135566plb.4 for ; Wed, 26 Sep 2018 01:33:05 -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=j+lLjpdwiyxfa245manTZRXRQ1kMi/7QyKlaqYcEd7ZlCwqZ814wUnEDycsMKaNWXD fAe6gm3TUsabDHiVV+swr/KqKYNgD5HP3iYpaF/LOs4j86wyXd56jAZD8hUAPP5Bc4NT 29FVfSSvTPDGrA0DkBdTd1pgsgSnIOBPU9CU3rCzUb7I+TFle881t+uC5NW+V/95/k4q nyfhoTKHtTn+ZFfmOm/Ae0rG4iMQmyzMFWMwIIO7C2oUKqAoRI+p/I1GK4TyDHHDc3i1 mdcsfKjSO9yV/DzLnby986fvefkHekbzscYnLdybJlI3dH+QKjZ/ntR1SQin+ur2Mr/I 4FTw== 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=VWlioMAwQwI5JzenFprq7wfUnindRDgBhZpTbB67ys29JFEzSZmFHwgxbO9HWyEBAX jgBtFY32EFsWqfLz5an2Qp/IQrO+FA63K0L1UBA+rBoc2e/J9z60wbXWzjCtD15aYyCB CwlJr7ASrBcIvKRYiGpxS3Mx//1Q5Q+YJA4kPDvw1lBaupGBFRu6spFhynEvTSGvqRSk PP3GdIqW9zEkONHru4kzB6mC4lFYdb/3qPHBMOmhGa5UwTDYNBi9MXR8AIGtCWbrkU7e xEzNPdjytzNr5YI8fFs/pGAHw5hAT81oDwlqPJ6KefacP5FS2mdfED34rDBfU75Xdn/y Czvw== X-Gm-Message-State: ABuFfoh8PHRBUV6/GeNFuZ0Zyx62wighGNELRtVtXUCswzbTkjZaNwNL lCSTgXAg+A24h7Up3vj/RMg= X-Received: by 2002:a17:902:8f93:: with SMTP id z19-v6mr4879438plo.263.1537950785140; Wed, 26 Sep 2018 01:33:05 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id f15-v6sm5530764pgv.66.2018.09.26.01.33.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 01:33:04 -0700 (PDT) From: Zong Li To: palmer@sifive.com, aou@eecs.berkeley.edu Cc: hch@infradead.org, zong@andestech.com, vincentc@andestech.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Zong Li Subject: [PATCH v2 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32 Date: Wed, 26 Sep 2018 16:31:13 +0800 Message-Id: <8dd79f009f4a8a4785fd88ddbe94d0a114d5bc36.1537949825.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