Skip to contentSkip to conversation

nds32: Fix the items of hwcap_str ordering issue.

PATCH Superseded Nylon Chen 1 participant 1 message Nov 8, 2018

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Nylon Chen

author
#0 lore raw

PATCH v2 1/2 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.

---
 arch/nds32/kernel/setup.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/nds32/kernel/setup.c +2 -1
index 63a1a5ef5219..87683583f206 100644
@@ -71,8 +71,9 @@ static const char *hwcap_str[] = {
 	"div",
 	"mac",
 	"l2c",
-	"dx_regs",
+	"fpu_dp",
 	"v2",
+	"dx_regs",
 	NULL,
 };
 
Signature · 1 line
2.18.0