Skip to content
Commit b0f3bdc0 authored by Qi Hu's avatar Qi Hu Committed by Huacai Chen
Browse files

LoongArch: Fix missing fcsr in ptrace's fpr_set



In file ptrace.c, function fpr_set does not copy fcsr data from ubuf
to kbuf. That's the reason why fcsr cannot be modified by ptrace.

This patch fixs this problem and allows users using ptrace to modify
the fcsr.

Co-developed-by: default avatarXu Li <lixu@loongson.cn>
Signed-off-by: default avatarQi Hu <huqi@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 1aea29d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment