Skip to content
Snippets Groups Projects
Commit d4bc3a7c authored by Vladimir Murzin's avatar Vladimir Murzin Committed by Pekka Enberg
Browse files

arch/aarch64: fix storage size for fpsr and fpcr


FPSR and FPCR registers are 32-bit wide.

Reviewed-by: default avatarClaudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: default avatarVladimir Murzin <murzin.v@gmail.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 4989dfc4
No related branches found
No related tags found
No related merge requests found
...@@ -58,8 +58,8 @@ inline u64 ticks() ...@@ -58,8 +58,8 @@ inline u64 ticks()
struct fpu_state { struct fpu_state {
__uint128_t vregs[32]; __uint128_t vregs[32];
unsigned long fpsr; u32 fpsr;
unsigned long fpcr; u32 fpcr;
}; };
inline void fpu_state_save(fpu_state *s) inline void fpu_state_save(fpu_state *s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment