x86, bitops: remove use of "sbb" to return CF
authorH. Peter Anvin <hpa@zytor.com>
Wed, 8 Jun 2016 19:38:37 +0000 (12:38 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 8 Jun 2016 19:41:20 +0000 (12:41 -0700)
commit2823d4da5d8a0c222747b24eceb65f5b30717d02
treed3c6753cdc372ee320aa6b9b289ff3c81987cbe3
parentf5967101e9de12addcda4510dfbac66d7c5779c3
x86, bitops: remove use of "sbb" to return CF

Use SETC instead of SBB to return the value of CF from assembly. Using
SETcc enables uniformity with other flags-returning pieces of assembly
code.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/1465414726-197858-2-git-send-email-hpa@linux.intel.com
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/x86/include/asm/bitops.h
arch/x86/include/asm/percpu.h
arch/x86/include/asm/signal.h
arch/x86/include/asm/sync_bitops.h
arch/x86/kernel/vm86_32.c