Commit 21124a82 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

x86_64: Support gcc 5 properly

The ifdef tests were broken.  Assume it acts like gcc 4
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6c977aad
...@@ -36,9 +36,7 @@ extern void __chk_io_ptr(const void __iomem *); ...@@ -36,9 +36,7 @@ extern void __chk_io_ptr(const void __iomem *);
#ifdef __KERNEL__ #ifdef __KERNEL__
#if __GNUC__ > 4 #if __GNUC__ >= 4
#error no compiler-gcc.h file for this gcc version
#elif __GNUC__ == 4
# include <linux/compiler-gcc4.h> # include <linux/compiler-gcc4.h>
#elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2 #elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2
# include <linux/compiler-gcc3.h> # include <linux/compiler-gcc3.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment