diff options
author | Nylon Chen <nylon7@andestech.com> | 2018-11-08 19:28:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-13 08:51:35 +0100 |
commit | a346307acbc477fd82c64859532482248dd8d601 (patch) | |
tree | 3f5c01facb3c28d9030f1619d1cdd080daf76ef8 /arch/nds32 | |
parent | 8f56c6c72013f07856f58cbfa69af946c7ed8c1a (diff) |
nds32: Fix the items of hwcap_str ordering issue.
[ Upstream commit a5234068e6dc18ae5300d678fbf3e129d9b93f78 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/nds32')
-rw-r--r-- | arch/nds32/kernel/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/nds32/kernel/setup.c b/arch/nds32/kernel/setup.c index 63a1a5ef5219..87683583f206 100644 --- a/arch/nds32/kernel/setup.c +++ b/arch/nds32/kernel/setup.c @@ -71,8 +71,9 @@ static const char *hwcap_str[] = { "div", "mac", "l2c", - "dx_regs", + "fpu_dp", "v2", + "dx_regs", NULL, }; |