From: Andi Kleen Date: Sat, 17 Feb 2007 12:35:00 +0000 (+0100) Subject: x86_64: Fix wrong gcc check in bitops.h X-Git-Tag: v2.6.20.2~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c1a0698326b3eb9e4967fc91a919bbe5a36ed86;p=thirdparty%2Fkernel%2Fstable.git x86_64: Fix wrong gcc check in bitops.h gcc 5.0 will likely not have the constraint problem Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/asm-x86_64/bitops.h b/include/asm-x86_64/bitops.h index 8da9609070f47..d4dbbe5f7bd9f 100644 --- a/include/asm-x86_64/bitops.h +++ b/include/asm-x86_64/bitops.h @@ -7,7 +7,7 @@ #include -#if __GNUC__ < 4 || __GNUC_MINOR__ < 1 +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) /* Technically wrong, but this avoids compilation errors on some gcc versions. */ #define ADDR "=m" (*(volatile long *) addr)