mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 12:08:16 +00:00
xtensa: Fix comparison result for up_fpucmp function
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
ea5ba0113e
commit
e31e69aa30
1 changed files with 1 additions and 1 deletions
|
|
@ -54,6 +54,6 @@ bool up_fpucmp(const void *saveregs1, const void *saveregs2)
|
|||
const uint32_t *regs2 = saveregs2;
|
||||
|
||||
return memcmp(®s1[XCPTCONTEXT_REGS], ®s2[XCPTCONTEXT_REGS],
|
||||
XTENSA_CP_SA_SIZE);
|
||||
XTENSA_CP_SA_SIZE) == 0;
|
||||
}
|
||||
#endif /* CONFIG_ARCH_FPU */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue