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:Miao HAO <haomiao19@mails.ucas.ac.cn> Signed-off-by:
Qi Hu <huqi@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn> (cherry picked from commit 8c5a9c80)
Loading
Please sign in to comment