mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
x86_64: Support gcc 5 properly
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>
This commit is contained in:
parent
6c977aad03
commit
21124a82bb
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue