Skip to contentSkip to conversation

nds32: Fix the missing "fpu_dp" message.

PATCH In review Nylon Chen 2 participants 2 messages Nov 7, 2018

lore
Share & tools
lore

Nylon Chen

author
#0 lore raw

PATCH 1/2 nds32: Fix the missing "fpu_dp" message.

The "fpu_dp" should be added to hwcap_str table to make sure the cpu features displayed correctly.

---
 arch/nds32/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)
arch/nds32/kernel/setup.c +1 -0
index eacc79024879..e39274a21481 100644
@@ -71,6 +71,7 @@ static const char *hwcap_str[] = {
 	"mac",
 	"l2c",
 	"dx_regs",
+	"fpu_dp",
 	"v2",
 	NULL,
 };
Signature · 1 line
2.18.0
#1 lore raw

Hi Nylon,
Nylon Chen <[email protected]> 於 2018年11月7日 週三 下午1:32寫道:

Quoted 13 lines

The "fpu_dp" should be added to hwcap_str table to make sure the cpu features displayed correctly.

---
 arch/nds32/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)
arch/nds32/kernel/setup.c +0 -0
index eacc79024879..e39274a21481 100644

arch/nds32/kernel/setup.c static const char *hwcap_str[] = { · line 77

Quoted 7 lines
arch/nds32/kernel/setup.c +1 -0
@@ -71,6 +71,7 @@ static const char *hwcap_str[] = {
        "mac",
        "l2c",
        "dx_regs",
+       "fpu_dp",
        "v2",
        NULL,
 };

Thank you for providing this patch however I just found the order of dx_regs and v2 is not match to HWCAP_V2
and HWCAP_DX_REGS.

Would you please based on next branch in
https://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git to re-gen the patch and send again? Thank you. :)