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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Andi Kleen
2007-02-17 13:35:00 +01:00
committed by Greg Kroah-Hartman
parent aac84df512
commit 4c1a069832
+1 -1
View 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)