]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
nds32: Fix the items of hwcap_str ordering issue.
authorNylon Chen <nylon7@andestech.com>
Thu, 8 Nov 2018 11:28:05 +0000 (19:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:35 +0000 (08:51 +0100)
[ 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@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/nds32/kernel/setup.c

index 63a1a5ef5219f47bcd9797e543298056294da22f..87683583f2064ad011a6befc19cc6bbdf50ba52c 100644 (file)
@@ -71,8 +71,9 @@ static const char *hwcap_str[] = {
        "div",
        "mac",
        "l2c",
-       "dx_regs",
+       "fpu_dp",
        "v2",
+       "dx_regs",
        NULL,
 };