diff options
| author | Andrew Morton <akpm@osdl.org> | 2006-01-08 01:04:09 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 20:14:02 -0800 | 
| commit | a1365647022eb05a5993f270a78e9bef3bf554eb (patch) | |
| tree | 6dbcab4db80b7d07fdaec88c003743d1f6e1a289 /include/linux/compiler-gcc3.h | |
| parent | fd285bb54d8a3e99810090ae88cfe8ed77d1da25 (diff) | |
| download | olio-linux-3.10-a1365647022eb05a5993f270a78e9bef3bf554eb.tar.xz olio-linux-3.10-a1365647022eb05a5993f270a78e9bef3bf554eb.zip  | |
[PATCH] remove gcc-2 checks
Remove various things which were checking for gcc-1.x and gcc-2.x compilers.
From: Adrian Bunk <bunk@stusta.de>
    Some documentation updates and removes some code paths for gcc < 3.2.
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/compiler-gcc3.h')
| -rw-r--r-- | include/linux/compiler-gcc3.h | 17 | 
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h index a6fa615afab..4209082ee93 100644 --- a/include/linux/compiler-gcc3.h +++ b/include/linux/compiler-gcc3.h @@ -3,29 +3,12 @@  /* These definitions are for GCC v3.x.  */  #include <linux/compiler-gcc.h> -#if __GNUC_MINOR__ >= 1 -# define inline		inline		__attribute__((always_inline)) -# define __inline__	__inline__	__attribute__((always_inline)) -# define __inline	__inline	__attribute__((always_inline)) -#endif - -#if __GNUC_MINOR__ > 0 -# define __deprecated		__attribute__((deprecated)) -#endif -  #if __GNUC_MINOR__ >= 3  # define __attribute_used__	__attribute__((__used__))  #else  # define __attribute_used__	__attribute__((__unused__))  #endif -#define __attribute_pure__	__attribute__((pure)) -#define __attribute_const__	__attribute__((__const__)) - -#if __GNUC_MINOR__ >= 1 -#define  noinline		__attribute__((noinline)) -#endif -  #if __GNUC_MINOR__ >= 4  #define __must_check		__attribute__((warn_unused_result))  #endif  |