patch-2.4.19 linux-2.4.19/include/asm-mips64/ptrace.h
Next file: linux-2.4.19/include/asm-mips64/r10kcache.h
Previous file: linux-2.4.19/include/asm-mips64/processor.h
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips64/ptrace.h
- Orig date:
Tue Nov 28 21:42:04 2000
diff -urN linux-2.4.18/include/asm-mips64/ptrace.h linux-2.4.19/include/asm-mips64/ptrace.h
@@ -9,8 +9,6 @@
#ifndef _ASM_PTRACE_H
#define _ASM_PTRACE_H
-#include <linux/types.h>
-
/* 0 - 31 are integer registers, 32 - 63 are fp registers. */
#define FPR_BASE 32
#define PC 64
@@ -21,7 +19,7 @@
#define FPC_CSR 69
#define FPC_EIR 70
-#ifndef _LANGUAGE_ASSEMBLY
+#ifndef __ASSEMBLY__
#define abi64_no_regargs \
unsigned long __dummy0, \
@@ -54,7 +52,7 @@
unsigned long cp0_cause;
};
-#endif /* !(_LANGUAGE_ASSEMBLY__) */
+#endif /* !__ASSEMBLY__ */
/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
/* #define PTRACE_GETREGS 12 */
@@ -69,19 +67,16 @@
/* options set using PTRACE_SETOPTIONS */
#define PTRACE_O_TRACESYSGOOD 0x00000001
-#ifdef _LANGUAGE_ASSEMBLY
+#ifdef __ASSEMBLY__
#include <asm/offset.h>
-#endif /* (_LANGUAGE_ASSEMBLY__) */
+#endif /* !__ASSEMBLY__ */
#ifdef __KERNEL__
-#ifndef _LANGUAGE_ASSEMBLY
+#ifndef __ASSEMBLY__
#define instruction_pointer(regs) ((regs)->cp0_epc)
-extern void (*_show_regs)(struct pt_regs *);
-#define show_regs(regs) _show_regs(regs)
-
-#endif /* !(_LANGUAGE_ASSEMBLY__) */
+#endif /* !__ASSEMBLY__ */
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)