Commit a9839e29 authored by He Sheng's avatar He Sheng Committed by guzitao
Browse files

sw64: merge user_fpsimd_state into thread_struct

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5G7NL



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

The user_fpsimd_state struct has been defined to hold fpu state
which is also held in thread_struct. To reuse this struct, this
patch makes a little change to user_fpsimd_state, then replace
struct context_fpregs and fpcr of thread_struct.

This patch also moves definition of task_pt_regs and mm_segment_t
to appropriate headers to avoid compile errors.

Signed-off-by: default avatarHe Sheng <hesheng@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 06ed664f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment