projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c977aa
)
x86_64: Support gcc 5 properly
author
Andi Kleen
<ak@suse.de>
Mon, 21 May 2007 12:31:46 +0000
(14:31 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 21 May 2007 16:56:57 +0000
(09:56 -0700)
The ifdef tests were broken. Assume it acts like gcc 4
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler.h
patch
|
blob
|
history
diff --git
a/include/linux/compiler.h
b/include/linux/compiler.h
index 498c35920762e2e4a10ff61b1e01f9d27298e7dc..8287a72bb6a913d01f7ca1def252880317dda297 100644
(file)
--- a/
include/linux/compiler.h
+++ b/
include/linux/compiler.h
@@
-36,9
+36,7
@@
extern void __chk_io_ptr(const void __iomem *);
#ifdef __KERNEL__
-#if __GNUC__ > 4
-#error no compiler-gcc.h file for this gcc version
-#elif __GNUC__ == 4
+#if __GNUC__ >= 4
# include <linux/compiler-gcc4.h>
#elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2
# include <linux/compiler-gcc3.h>