x86/asm: Add instruction suffixes to bitops
authorJan Beulich <JBeulich@suse.com>
Mon, 26 Feb 2018 11:11:51 +0000 (04:11 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Feb 2018 14:18:41 +0000 (15:18 +0100)
commit22636f8c9511245cb3c8412039f1dd95afb3aa59
tree3685d0de50afaf363a466c05f421e7955da8c1f9
parenta368d7fd2a3c6babb852fe974018dd97916bcd3b
x86/asm: Add instruction suffixes to bitops

Omitting suffixes from instructions in AT&T mode is bad practice when
operand size cannot be determined by the assembler from register
operands, and is likely going to be warned about by upstream gas in the
future (mine does already). Add the missing suffixes here. Note that for
64-bit this means some operations change from being 32-bit to 64-bit.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/5A93F98702000078001ABACC@prv-mh.provo.novell.com
arch/x86/include/asm/bitops.h
arch/x86/include/asm/percpu.h