]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
commit 9f6026b8c308365d955faaf31dd0f457266d11f8 git-24420760c3701ff422b344e047a20ca09b76fc64
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
Author: Andi Kleen <ak@suse.de>
Date:   Tue Feb 13 13:26:25 2007 +0100

    [PATCH] x86-64: Fix wrong gcc check in bitops.h

    gcc 5.0 will likely not have the constraint problem
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/bitops.h

index 8cd2f96b66cfde2cd68b350ad00ea022ef6cd822..6e9c76132659abe8c67f2209b735bd10c9cd2037 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <asm/alternative.h>
 
-#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)