(cherry picked from commit 6916f15102346f2c82d3ed3160dbac9c704761d5)
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>