提交 9f6026b8 编写于 作者: A Andi Kleen 提交者: Andi Kleen

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

gcc 5.0 will likely not have the constraint problem
Signed-off-by: NAndi Kleen <ak@suse.de>
上级 2fb12a9b
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <asm/alternative.h> #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 /* Technically wrong, but this avoids compilation errors on some gcc
versions. */ versions. */
#define ADDR "=m" (*(volatile long *) addr) #define ADDR "=m" (*(volatile long *) addr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册