patch-2.4.19 linux-2.4.19/include/asm-mips/current.h

Next file: linux-2.4.19/include/asm-mips/ddb5xxx/ddb5476.h
Previous file: linux-2.4.19/include/asm-mips/cpu.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-mips/current.h linux-2.4.19/include/asm-mips/current.h
@@ -9,11 +9,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)