From: Nylon Chen Date: Thu, 8 Nov 2018 11:28:05 +0000 (+0800) Subject: nds32: Fix the items of hwcap_str ordering issue. X-Git-Tag: v5.15~7296^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5234068e6dc18ae5300d678fbf3e129d9b93f78;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Greentime Hu Signed-off-by: Greentime Hu --- diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c index d7f5657..4b774ca 100644 --- a/arch/nds32/kernel/setup.c +++ b/arch/nds32/kernel/setup.c @@ -72,8 +72,9 @@ static const char *hwcap_str[] = { "div", "mac", "l2c", - "dx_regs", + "fpu_dp", "v2", + "dx_regs", NULL, };