diff options
Diffstat (limited to 'arch/x86/include/asm/bitops.h')
-rw-r--r-- | arch/x86/include/asm/bitops.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index ad7b210aa3f6..d153d570bb04 100644 --- a/arch/x86/include/asm/bitops.h +++ b/arch/x86/include/asm/bitops.h | |||
@@ -36,13 +36,7 @@ | |||
36 | * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1). | 36 | * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1). |
37 | */ | 37 | */ |
38 | 38 | ||
39 | #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) | ||
40 | /* Technically wrong, but this avoids compilation errors on some gcc | ||
41 | versions. */ | ||
42 | #define BITOP_ADDR(x) "=m" (*(volatile long *) (x)) | ||
43 | #else | ||
44 | #define BITOP_ADDR(x) "+m" (*(volatile long *) (x)) | 39 | #define BITOP_ADDR(x) "+m" (*(volatile long *) (x)) |
45 | #endif | ||
46 | 40 | ||
47 | #define ADDR BITOP_ADDR(addr) | 41 | #define ADDR BITOP_ADDR(addr) |
48 | 42 | ||