[1/2] nds32: Fix the missing "fpu_dp" message.
diff mbox series

Message ID 20181107053000.12374-1-nylon7@andestech.com
State New, archived
Headers show
Series
  • [1/2] nds32: Fix the missing "fpu_dp" message.
Related show

Commit Message

Nylon Chen Nov. 7, 2018, 5:30 a.m. UTC
The "fpu_dp" should be added to hwcap_str table to make sure the cpu features displayed correctly.

Signed-off-by: Nylon Chen <nylon7@andestech.com>
---
 arch/nds32/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Greentime Hu Nov. 7, 2018, 7:08 a.m. UTC | #1
Hi Nylon,
Nylon Chen <nylon7@andestech.com> 於 2018年11月7日 週三 下午1:32寫道:
>
> The "fpu_dp" should be added to hwcap_str table to make sure the cpu features displayed correctly.
>
> Signed-off-by: Nylon Chen <nylon7@andestech.com>
> ---
>  arch/nds32/kernel/setup.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
> index eacc79024879..e39274a21481 100644
> --- a/arch/nds32/kernel/setup.c
> +++ b/arch/nds32/kernel/setup.c
> @@ -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. :)

Patch
diff mbox series

diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
index eacc79024879..e39274a21481 100644
--- a/arch/nds32/kernel/setup.c
+++ b/arch/nds32/kernel/setup.c
@@ -71,6 +71,7 @@  static const char *hwcap_str[] = {
 	"mac",
 	"l2c",
 	"dx_regs",
+	"fpu_dp",
 	"v2",
 	NULL,
 };