linux_dsm_epyc7002/arch/mips/include
Paul Burton aad028cadb
MIPS: bitops: Avoid redundant zero-comparison for non-LLSC
The IRQ-disabling non-LLSC fallbacks for bitops on UP systems already
return a zero or one, so there's no need to perform another comparison
against zero. Move these comparisons into the LLSC paths to avoid the
redundant work.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
2019-10-07 09:42:52 -07:00
..
asm MIPS: bitops: Avoid redundant zero-comparison for non-LLSC 2019-10-07 09:42:52 -07:00
uapi/asm mm: introduce MADV_PAGEOUT 2019-09-25 17:51:41 -07:00