aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nds32
diff options
context:
space:
mode:
authorNylon Chen <nylon7@andestech.com>2018-11-08 19:28:05 +0800
committerGreentime Hu <greentime@andestech.com>2018-11-22 18:13:51 +0800
commita5234068e6dc18ae5300d678fbf3e129d9b93f78 (patch)
tree9d5e9c04b6f2d301b2aebbafab552c19535394bc /arch/nds32
parentmath-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning (diff)
downloadlinux-dev-a5234068e6dc18ae5300d678fbf3e129d9b93f78.tar.xz
linux-dev-a5234068e6dc18ae5300d678fbf3e129d9b93f78.zip
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>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/kernel/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c
index d7f5657bc638..4b774ca433a9 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,
};