Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1064624imm; Tue, 2 Oct 2018 02:00:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV61pIwQAftt3LninJBIxGFn51EreIOIc6+ShK73E9JoJORk4YU0HEWcRuGTr4XjAwtjFyezm X-Received: by 2002:a17:902:ac89:: with SMTP id h9-v6mr15614489plr.174.1538470809584; Tue, 02 Oct 2018 02:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538470809; cv=none; d=google.com; s=arc-20160816; b=eQ/82iNVRSYNkKqmzJUOkQkP2Bv4uQACyNR2MC1fHex6H/usNphl1sVtozfsL1eJ0A iL3cXaOvKZL9rhOqHmIe2Sq8+R1ABM9VgfJ8IPmECAXS7ytktGmx2NKQAnQEuUXXf+OH 9vhmYDvIWbtIAdMl4qFs00bKEoz+VxbhPi793kZyzVPOzM76N/9E9aKWj59ngK5O/W57 0QKkh3kifxT++MvE0IFIZRvLfQqxun65JTabodt+B+j/uKySyHH7p8QKef78PesA/dOJ KqkQgJyhtcLnXCEGuKU4zO6YdaGWmly3Q+NL11lKgX6fQMjQZYrAXH0dw2TxsxY2TkII Rr5w== 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=yNF347iocBmUuFr0VAS7zHWbJ4IRQgcubHNGusAlwjPSD8744snDKjBgn1UrosWv4S wOCA7aiJ8P9+c3nH/CzmdlvzhQdGu/1wZlp8t2EUW4zyiMLaNbYAW8ZbG6UYRna48DQ7 0nDtxNlmEDh/HeKvlejtPhjJR7ZlX3nvQHDgvdZV20WSobRoage9Tgz3STJFnABosZUO BnNT19+qlevINFRrGSxdtankMW5i9p0Uhmp8qTWz+uujQ1ceDhI9syWwAQUxYghUxTy2 RK74ugo3/m8pNOqlneZhFPWzE0i8jWwHGwbCfuyCx8iIFtTvlgWld7yypMI79MVNDR4J x/oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EJCSu1Zs; 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 h14-v6si8022531plk.130.2018.10.02.01.59.54; Tue, 02 Oct 2018 02:00:09 -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=EJCSu1Zs; 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 S1727399AbeJBPlx (ORCPT + 99 others); Tue, 2 Oct 2018 11:41:53 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35400 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727261AbeJBPll (ORCPT ); Tue, 2 Oct 2018 11:41:41 -0400 Received: by mail-pl1-f195.google.com with SMTP id f8-v6so655852plb.2 for ; Tue, 02 Oct 2018 01:59:29 -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=EJCSu1Zsm8bh3U8fH8akMthzApptr4z1KJm/EKR9LjzMRZnCi1BtebyWDVwcJZQQ5b vybpQsdhav/eZUsMtT9z0pmFUq2yqy57dsQDsRScts7ri9GsKMAp0BwaqSlOi+ZjZg5O rZBbe3SDgDlSYOZ5mKHA0B24TSlriTuOogMq6anq4lFKOOiQEcXQ8slRScv3AL0YZQpg 1We17vaqDTx9XfM5ugeO5goWF8k/aG0vL5lLW/4OBWaMNdOaTkNNYuTjXbJ+5VujZTp7 BO5H5/JDkC0JcqNOj22MVZYAbMkfXxoFUQIuOmEpz9Jd5ecZC+FfeFeEhVepcDH7oi13 IowQ== 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=DJn4vrPg5uiXhCrGgTBuMe5K40/agw0j4xUYvZdlZ2dLuR7INaz2JCN+i+aBSe3jaz MsBqdqLMt1n5spLxxm5+++IT6jdFN8jmW2C6kofis3r9ziAgNMPcvjmjTvrMgik1PLnP PdR4L91Zqw2OEynKU02ZEiIAolepCifi3kwsI3zgnJ/ZHECKj4HclHld4zDV01Zxzxzq 3EYLfVAPxoHm/R/Qi/PAYkSawRZ19G+qG9wtagf5a47XoJg70nldhdreRFqF7mAzSEH6 kgjKA+omMJ13B0WFdJx6jbnxFxpaq/eCjrlX+L0vM7od43xBx4lOGLSh6/Dfv+xhcv6I 9Y4A== X-Gm-Message-State: ABuFfojo3L+ERFxI32czcKdBQvD1AGQleP9Bgkvl5uSbYfQeJHZI5yf1 6FVPEd8D99yiXRItCBiCJ3Y= X-Received: by 2002:a63:6a86:: with SMTP id f128-v6mr13916830pgc.165.1538470769302; Tue, 02 Oct 2018 01:59:29 -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 62-v6sm5057927pgc.58.2018.10.02.01.59.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 01:59:28 -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 v3 4/5] RISC-V: Select GENERIC_LIB_UMODDI3 on RV32 Date: Tue, 2 Oct 2018 16:52:30 +0800 Message-Id: <3f1967e8be0c25910bf04181e84b46a788a156d7.1538470103.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