patch-2.4.0-test3 linux/include/asm-mips64/ptrace.h
Next file: linux/include/asm-mips64/resource.h
Previous file: linux/include/asm-mips64/processor.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Sun Jul 9 22:18:15 2000
- Orig file:
v2.4.0-test2/linux/include/asm-mips64/ptrace.h
- Orig date:
Tue May 23 15:31:36 2000
diff -u --recursive --new-file v2.4.0-test2/linux/include/asm-mips64/ptrace.h linux/include/asm-mips64/ptrace.h
@@ -22,7 +22,7 @@
#define FPC_CSR 69
#define FPC_EIR 70
-#ifndef __ASSEMBLY__
+#ifndef _LANGUAGE_ASSEMBLY
#define abi64_no_regargs \
unsigned long __dummy0, \
@@ -55,19 +55,21 @@
unsigned long cp0_cause;
};
-#endif /* !(__ASSEMBLY__) */
+#endif /* !(_LANGUAGE_ASSEMBLY__) */
+#ifdef _LANGUAGE_ASSEMBLY
#include <asm/offset.h>
+#endif /* (_LANGUAGE_ASSEMBLY__) */
#ifdef __KERNEL__
-#ifndef __ASSEMBLY__
+#ifndef _LANGUAGE_ASSEMBLY
#define instruction_pointer(regs) ((regs)->cp0_epc)
extern void (*_show_regs)(struct pt_regs *);
#define show_regs(regs) _show_regs(regs)
-#endif /* !(__ASSEMBLY__) */
+#endif /* !(_LANGUAGE_ASSEMBLY__) */
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)