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>
Showing
- arch/x86/include/asm/bitops.h 12 additions, 12 deletionsarch/x86/include/asm/bitops.h
- arch/x86/include/asm/percpu.h 6 additions, 6 deletionsarch/x86/include/asm/percpu.h
- arch/x86/include/asm/signal.h 3 additions, 3 deletionsarch/x86/include/asm/signal.h
- arch/x86/include/asm/sync_bitops.h 9 additions, 9 deletionsarch/x86/include/asm/sync_bitops.h
- arch/x86/kernel/vm86_32.c 1 addition, 4 deletionsarch/x86/kernel/vm86_32.c
Loading
Please register or sign in to comment