Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp376585imu; Thu, 8 Nov 2018 03:30:52 -0800 (PST) X-Google-Smtp-Source: AJdET5eV5p9k9r3TxOPwsHCf/R4uBqG9IkCJR+n30OSxd6e7qUlcemBluW53mTP4hEvST31Fnu/I X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr4112862plb.239.1541676652162; Thu, 08 Nov 2018 03:30:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541676652; cv=none; d=google.com; s=arc-20160816; b=oyDRNhX8Yh3ITvqAtc3OyEJbAyVWEcqhKr/HQV4jXH7SWD7At/v5MDVxvhi3wOn02n p2Qb37GzQb8ozSAR0vfjHDiYNB3PECq4FrPzOAZhhNCSEq8/SDW6yJrPrEYDUrkjpUcD 3H4GN5o5Cd60MyZ4UcAt20TLicNcUjvaWmLsn0A6C88KCQ0G7RlBeyuuQeTlrE5V3IIZ jx0DlgtMc6lM1WvX3Vj3w26thmChfZfqOVq74RPFByq5Clb7Xni+3eewlsjtw0dBPgIS QFgld9rHsO/ItDyqrinjHq+MyqX9Agl0ZaukB6f6bcVtIlZklD91XSJSJCA2h1NxLJg1 iwwg== 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=fdKrIEqlXRO8hWDtFt8yZJrFU5L6dX1idRt7NSwJ3GA=; b=wW2YcPi3mnhsmx79C7vI1VN1s+p41TRY2KB/T89X/aW+sTT798XYPEDV9A1sKp/F7m w3sKjith9UlBi4k3WbDwZsMWHnT8HgzUsEQ4kg0tl7Z1HbrwJ0kF6koDZQzg1wF+6yeT WkVccu+fj/47ZnV5akaG7ah6TDzMsbstQL/yQvmW5LKcSeQlKxRhyaMZxikrf6luDQ79 yXPFNYJ6/uQVQ+lKpKj5379J++IwvGWYuC1tDTY7RvJGwKHwoqBksb8CAS/ZvO9ov7XJ n5VnvakxU40OQuuPdHqhGRj3p9fscmkmDnROie8bfB6cUI7qdkPp1V9lUwdSxU6MED+d A8ug== 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 f12-v6si3232036pgo.136.2018.11.08.03.30.33; Thu, 08 Nov 2018 03:30:52 -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 S1727029AbeKHVFM (ORCPT + 99 others); Thu, 8 Nov 2018 16:05:12 -0500 Received: from 59-120-53-16.HINET-IP.hinet.net ([59.120.53.16]:22947 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726304AbeKHVFM (ORCPT ); Thu, 8 Nov 2018 16:05:12 -0500 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id wA8BUIqk069414; Thu, 8 Nov 2018 19:30:18 +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 19:30:00 +0800 From: Nylon Chen To: , , CC: , Nylon Chen Subject: [PATCH v3 1/2] nds32: Fix the items of hwcap_str ordering issue. Date: Thu, 8 Nov 2018 19:28:05 +0800 Message-ID: <20181108112805.3660-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 wA8BUIqk069414 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 d7f5657bc638..4b774ca433a9 100644 --- a/arch/nds32/kernel/setup.c +++ b/arch/nds32/kernel/setup.c @@ -72,8 +72,9 @@ static const char *hwcap_str[] = { "div", "mac", "l2c", - "dx_regs", + "fpu_dp", "v2", + "dx_regs", NULL, }; -- 2.18.0