summaryrefslogtreecommitdiffstats
path: root/include/asm-um/rwsem.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-01-08 10:04:09 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-09 05:14:02 +0100
commita1365647022eb05a5993f270a78e9bef3bf554eb (patch)
tree6dbcab4db80b7d07fdaec88c003743d1f6e1a289 /include/asm-um/rwsem.h
parent[PATCH] Abandon gcc-2.95.x (diff)
downloadlinux-a1365647022eb05a5993f270a78e9bef3bf554eb.tar.xz
linux-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/asm-um/rwsem.h')
-rw-r--r--include/asm-um/rwsem.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-um/rwsem.h b/include/asm-um/rwsem.h
index 661c0e54702b..b5fc449dc86b 100644
--- a/include/asm-um/rwsem.h
+++ b/include/asm-um/rwsem.h
@@ -1,10 +1,6 @@
#ifndef __UM_RWSEM_H__
#define __UM_RWSEM_H__
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
-#define __builtin_expect(exp,c) (exp)
-#endif
-
#include "asm/arch/rwsem.h"
#endif