projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb12a9
)
[PATCH] x86-64: Fix wrong gcc check in bitops.h
author
Andi Kleen
<ak@suse.de>
Tue, 13 Feb 2007 12:26:25 +0000
(13:26 +0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:25 +0000
(13:26 +0100)
gcc 5.0 will likely not have the constraint problem
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/bitops.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86_64/bitops.h
b/include/asm-x86_64/bitops.h
index 8da9609070f471eaac12ae7269c4479eca459b1e..d4dbbe5f7bd9f466451e0ee65572b6accf929277 100644
(file)
--- a/
include/asm-x86_64/bitops.h
+++ b/
include/asm-x86_64/bitops.h
@@
-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)