From: Andi Kleen Date: Mon, 21 May 2007 12:31:46 +0000 (+0200) Subject: x86_64: Support gcc 5 properly X-Git-Tag: v2.6.22-rc3~120 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21124a82bb82e100369846ff2044dd5ea65fc934;p=linux-2.6 x86_64: Support gcc 5 properly The ifdef tests were broken. Assume it acts like gcc 4 Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 498c359207..8287a72bb6 100644 --- 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 #elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2 # include