Commit ab610614 authored by Qi Hu's avatar Qi Hu Committed by openeuler-sync-bot
Browse files

LoongArch: Fix the write_fcsr() macro

linux-next inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I80YEI
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20230912&id=346dc929623cef70ff7832a4fa0ffd1b696e312a



---------------------------

The "write_fcsr()" macro uses wrong the positions for val and dest in
asm. Fix it!

Reported-by: default avatarMiao HAO <haomiao19@mails.ucas.ac.cn>
Signed-off-by: default avatarQi Hu <huqi@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
(cherry picked from commit 8c5a9c80)
parent 82fe7286
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment