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)
committerGreentime Hu <greentime@andestech.com>
Thu, 22 Nov 2018 10:13:51 +0000 (18:13 +0800)
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>
arch/nds32/kernel/setup.c

index d7f5657..4b774ca 100644 (file)
@@ -72,8 +72,9 @@ static const char *hwcap_str[] = {
        "div",
        "mac",
        "l2c",
-       "dx_regs",
+       "fpu_dp",
        "v2",
+       "dx_regs",
        NULL,
 };