Skip to content

Commit a523406

Browse files
Nylon ChenGreentime Hu
authored andcommitted
nds32: Fix the items of hwcap_str ordering issue.
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>
1 parent 83312f1 commit a523406

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/nds32/kernel/setup.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ static const char *hwcap_str[] = {
7272
"div",
7373
"mac",
7474
"l2c",
75-
"dx_regs",
75+
"fpu_dp",
7676
"v2",
77+
"dx_regs",
7778
NULL,
7879
};
7980

0 commit comments

Comments
 (0)