path: root/arch/x86/include/asm/bitops.h
diff options
authorLinus Torvalds <torvalds@linux-foundation.org>2019-03-17 16:21:48 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-17 16:21:48 (GMT)
commit80b98e92ebcb4433b86fd32b5d82ec6b0d75cf59 (patch)
tree1820dfcb4673328a782f84813f5f4a8debaea7bd /arch/x86/include/asm/bitops.h
parent69ebf9a16a74cf05359b851a5dc614a63f075d1a (diff)
parent2e905c7abdcd5ff09b9df33d25eb7148c85bed2a (diff)
Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 asm updates from Thomas Gleixner: "Two cleanup patches removing dead conditionals and unused code" * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/asm: Remove unused __constant_c_x_memset() macro and inlines x86/asm: Remove dead __GNUC__ conditionals
Diffstat (limited to 'arch/x86/include/asm/bitops.h')
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h
index ad7b210..d153d57 100644
--- a/arch/x86/include/asm/bitops.h
+++ b/arch/x86/include/asm/bitops.h
@@ -36,13 +36,7 @@
* bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
-#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
-/* Technically wrong, but this avoids compilation errors on some gcc
- versions. */
-#define BITOP_ADDR(x) "=m" (*(volatile long *) (x))
#define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
#define ADDR BITOP_ADDR(addr)

Privacy Policy