Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1442466imm; Wed, 20 Jun 2018 18:51:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJjtL65wTMfmYCguZyK8xAAqrO/J/s5eUOI3IygTzOazFYot8RVEmnT/9deJF3689lqZcBr X-Received: by 2002:a62:7db:: with SMTP id 88-v6mr25159552pfh.178.1529545905533; Wed, 20 Jun 2018 18:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529545905; cv=none; d=google.com; s=arc-20160816; b=APpz1rvz18AtmjGPmbHDzYbvbH2dKXESTa26gJ0bLABFlxtLiypRGwwojNrzq/GctE m8yPOvJ4mEcV5XdPYNK7xbZX61csk/hZUmwerspv+AtV+fnZgsWlD87qZl5iuS6sXNTl 0PXpKJeT+Hl65xWYT8RpMOwyWOznHZwvJ6xMEhG2s51EG+AsnPrtLvUOkhr3muCZ4N0Z U6xczlyUCeSkONLOvz3BNEyrXD+e6HAecao6iLvj2kJL1L8qr6//vQPxl+zMt4Ly07p0 OpIGKGY3F6w/DkuAqczaqPl2UZkUlXuJfIzrq34gWA2jiLnmNWPpNc5I8gVFH6iLT3tO 1ARA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=KF3YMKhWpT1v9ICoMEFb8aCKLQci7dqJwKEpX0affQg=; b=unarNJYQgSWPR86ZqdVAPx3PO0oJ06Ft8+8rhS5SgVM56REGVMy1F2dklJ/banwVmm CaX5V8nkRemV3pAdWd8YqxqQUOXnWwCcx9AFcHJpZJvhtYrh7KRh5LUXvCWUxffUHFW2 g7qWMoDAr6XuPu5QAzg7uBFAm2v01WxBADH+ohvtbEmGNbdtpxZJdBQ14axkRyDvcgAC PPVDwkJOJmRiJ0px+KccjSalBjGHn22H/rq3vF22aBDL9cclDxHqNC7V7Pa09shlIZh1 xoiuKcBVzGU0EGPUNu0rMc0LSxF1HsFVP1Rm0mjE2yCJiaUNUgYHKP10XJWbBtfk0pd2 8Uew== ARC-Authentication-Results: i=1; mx.google.com; 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 j77-v6si3866540pfa.57.2018.06.20.18.51.31; Wed, 20 Jun 2018 18:51:45 -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; 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 S1754633AbeFUBtL (ORCPT + 99 others); Wed, 20 Jun 2018 21:49:11 -0400 Received: from exmail.andestech.com ([59.124.169.137]:37955 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754336AbeFUBse (ORCPT ); Wed, 20 Jun 2018 21:48:34 -0400 Received: from ATCSQR.andestech.com (localhost [127.0.0.2] (may be forged)) by ATCSQR.andestech.com with ESMTP id w5L1gKpo038536 for ; Thu, 21 Jun 2018 09:42:20 +0800 (GMT-8) (envelope-from zong@andestech.com) Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id w5L1fvnB038392; Thu, 21 Jun 2018 09:41:57 +0800 (GMT-8) (envelope-from zong@andestech.com) Received: from atcsqa06.andestech.com (10.0.1.85) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Thu, 21 Jun 2018 09:42:16 +0800 From: Zong Li To: , , , CC: Zong Li , Subject: [PATCH 2/5] RISC-V: Select GENERIC_UCMPDI2 on RV32I Date: Thu, 21 Jun 2018 09:41:43 +0800 Message-ID: <29a09c174447db35ce7b25543dd9b5a82fdb7cff.1529506497.git.zong@andestech.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.1.85] X-DNSRBL: X-MAIL: ATCSQR.andestech.com w5L1fvnB038392 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 __ucmpdi2, otherwise, it can't find the __ucmpdi2 symbol. 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 6debcc4afc72..3e683be9b7a8 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -122,6 +122,7 @@ config ARCH_RV32I select GENERIC_ASHLDI3 select GENERIC_ASHRDI3 select GENERIC_LSHRDI3 + select GENERIC_UCMPDI2 config ARCH_RV64I bool "RV64I" -- 2.16.1