Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17000
b: refs/heads/master
c: fd285bb
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jan 9, 2006
1 parent 98aa08f commit 377bc24
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 38 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55
refs/heads/master: fd285bb54d8a3e99810090ae88cfe8ed77d1da25
29 changes: 0 additions & 29 deletions trunk/include/linux/compiler-gcc2.h

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/include/linux/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ extern void __chk_io_ptr(void __iomem *);
# include <linux/compiler-gcc4.h>
#elif __GNUC__ == 3
# include <linux/compiler-gcc3.h>
#elif __GNUC__ == 2
# include <linux/compiler-gcc2.h>
#else
# error Sorry, your compiler is too old/not recognized.
#endif
Expand Down
7 changes: 1 addition & 6 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@
* This is one of the first .c files built. Error out early
* if we have compiler trouble..
*/
#if __GNUC__ == 2 && __GNUC_MINOR__ == 96
#ifdef CONFIG_FRAME_POINTER
#error This compiler cannot compile correctly with frame pointers enabled
#endif
#endif

#ifdef CONFIG_X86_LOCAL_APIC
#include <asm/smp.h>
Expand All @@ -74,7 +69,7 @@
* To avoid associated bogus bug reports, we flatly refuse to compile
* with a gcc that is known to be too old from the very beginning.
*/
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 95)
#if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2)
#error Sorry, your GCC is too old. It builds incorrect kernels.
#endif

Expand Down

0 comments on commit 377bc24

Please sign in to comment.