patch-2.4.19 linux-2.4.19/include/asm-mips64/current.h
Next file: linux-2.4.19/include/asm-mips64/div64.h
Previous file: linux-2.4.19/include/asm-mips64/cpu.h
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/include/asm-mips64/current.h
-  Orig date: 
Sun Sep  9 10:43:02 2001
diff -urN linux-2.4.18/include/asm-mips64/current.h linux-2.4.19/include/asm-mips64/current.h
@@ -8,10 +8,11 @@
 #ifndef _ASM_CURRENT_H
 #define _ASM_CURRENT_H
 
-#ifdef _LANGUAGE_C
+#ifndef __ASSEMBLY__
 
 /* MIPS rules... */
 register struct task_struct *current asm("$28");
 
-#endif /* _LANGUAGE_C */
+#endif /* !__ASSEMBLY__ */
+
 #endif /* _ASM_CURRENT_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)