patch-2.4.0-test10 linux/include/asm-arm/current.h

Next file: linux/include/asm-arm/pgtable.h
Previous file: linux/include/asm-arm/byteorder.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/include/asm-arm/current.h linux/include/asm-arm/current.h
@@ -1,11 +1,7 @@
 #ifndef _ASMARM_CURRENT_H
 #define _ASMARM_CURRENT_H
 
-/* Old compilers seem to generate bad code if we allow `current' to be
-   non volatile.  */
-#if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ > 90)
 static inline struct task_struct *get_current(void) __attribute__ (( __const__ ));
-#endif
 
 static inline struct task_struct *get_current(void)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)