diff --git a/arch/xtensa/src/common/xtensa_fpucmp.c b/arch/xtensa/src/common/xtensa_fpucmp.c index cafd93c3c0d78..e46691799193e 100644 --- a/arch/xtensa/src/common/xtensa_fpucmp.c +++ b/arch/xtensa/src/common/xtensa_fpucmp.c @@ -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 */