[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191211150344.710982600@linuxfoundation.org>
Date: Wed, 11 Dec 2019 16:04:05 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Nylon Chen <nylon7@...estech.com>,
Greentime Hu <greentime@...estech.com>,
Sasha Levin <sashal@...nel.org>
Subject: [PATCH 4.19 083/243] nds32: Fix the items of hwcap_str ordering issue.
From: Nylon Chen <nylon7@...estech.com>
[ Upstream commit a5234068e6dc18ae5300d678fbf3e129d9b93f78 ]
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 <nylon7@...estech.com>
Acked-by: Greentime Hu <greentime@...estech.com>
Signed-off-by: Greentime Hu <greentime@...estech.com>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
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 63a1a5ef5219f..87683583f2064 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.20.1
Powered by blists - more mailing lists