x86/asm: Add instruction suffixes to bitops
authorJan Beulich <JBeulich@suse.com>
Mon, 26 Feb 2018 11:11:51 +0000 (04:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 08:29:02 +0000 (10:29 +0200)
commit7ee66a8a71cf68a44ecfdf2f58e6847cf654ff88
treec47506ee2c60a8ed74ba2ee61acd7197f0b08e81
parent3f2bea782ec1a4a3f30881f1e966057ed410f4e7
x86/asm: Add instruction suffixes to bitops

commit 22636f8c9511245cb3c8412039f1dd95afb3aa59 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/bitops.h
arch/x86/include/asm/percpu.h