Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp298740imu; Thu, 8 Nov 2018 02:02:45 -0800 (PST) X-Google-Smtp-Source: AJdET5eMpoW0cyDQK3eULDFPyqimnAeMEUbXbDHOTtyEH3L0SI6eGDwQYoTPz2vIHlL5MKoVYBOV X-Received: by 2002:a17:902:a717:: with SMTP id w23-v6mr3890234plq.24.1541671364961; Thu, 08 Nov 2018 02:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541671364; cv=none; d=google.com; s=arc-20160816; b=ywDMnQ7WF9Jt0zzL1gWnniag4EhG3VyHqHshiFH10xQ2dGoRyiPCAg+TU8tjcXA2s4 4lUF6aq8jJGCmJEWp+OxxXcMKY1a3rlGBI5P/K4w9yC+61SeYmMOhmfu4001tr2oWzy2 SvWdNz2weMjc2d978XPq3+c3/V6J3TI4x1+3M7bAe6qBcG0XqtfeUT2XFZeS2w1FTUAL gXp4Oyo6k5u3vURtcU6ULzuD0jLk+67YKFjpCzpd+lS4qBDUyY5RRPF0OJW83ojCeV2P J0lf6X2HKAIREZadhSIwz93GkQFq+vZgIyEJrwohsX+fwybFF3lnOUJbXLNcLHntVOgj Zsig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=mIJXw2sVBuHMgdVPIoqgBVIbSE0gWgw35ZzPcmog9ig=; b=pRaRqFIA/XQeir3Xlc8PnN67a50AIA2dcCRWViIbdvGhKAEmhFhEa70SMG1pPzvawG qFnoG7q8xFKnSStSja9E+yzg4KTeeKWYgr1oDURBUF1A/IPBAXXZARpLkbpR/UBczSs8 uCtvPvFj9UZ6PcxPOOZX/KWQnxf1hzHWBH70aGZDiiabiCqx+wj1G1wscIDAfSAwesKO I0H7fpmDWtTdEP9cWOZMn3snrAOV5/+CrR5Xpyo8SwmyYfW01fJCMxwQf3A1dF5CJR/Y b2yTjDNTjjWyoPGoLOH3/qQcsj0TpvTgy2Xa9yu5uuJxp+94ZVE11BVs3niyiRrGIa6r PUWg== 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 h3-v6si3629405pld.424.2018.11.08.02.02.29; Thu, 08 Nov 2018 02:02:44 -0800 (PST) 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 S1726630AbeKHTgu (ORCPT + 99 others); Thu, 8 Nov 2018 14:36:50 -0500 Received: from 59-120-53-16.HINET-IP.hinet.net ([59.120.53.16]:49450 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726304AbeKHTgu (ORCPT ); Thu, 8 Nov 2018 14:36:50 -0500 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id wA8A2FxE059684; Thu, 8 Nov 2018 18:02:15 +0800 (GMT-8) (envelope-from nylon7@andestech.com) Received: from app09.andestech.com (10.0.15.117) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Thu, 8 Nov 2018 18:01:58 +0800 From: Nylon Chen To: , , CC: , Nylon Chen Subject: [PATCH v2 1/2] nds32: Fix the items of hwcap_str ordering issue. Date: Thu, 8 Nov 2018 18:00:02 +0800 Message-ID: <20181108100002.2195-1-nylon7@andestech.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.15.117] X-DNSRBL: X-MAIL: ATCSQR.andestech.com wA8A2FxE059684 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The hwcap_str should be set in a correct order according to HWCAP_xx. We also add the missing "fpu_dp" to it. Signed-off-by: Nylon Chen --- arch/nds32/kernel/setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c index 63a1a5ef5219..87683583f206 100644 --- a/arch/nds32/kernel/setup.c +++ b/arch/nds32/kernel/setup.c @@ -71,8 +71,9 @@ static const char *hwcap_str[] = { "div", "mac", "l2c", - "dx_regs", + "fpu_dp", "v2", + "dx_regs", NULL, }; -- 2.18.0