summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools/offset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/tools/offset.c')
-rw-r--r--arch/mips/tools/offset.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/mips/tools/offset.c b/arch/mips/tools/offset.c
index 977a791d8..7df4a6c1d 100644
--- a/arch/mips/tools/offset.c
+++ b/arch/mips/tools/offset.c
@@ -1,12 +1,13 @@
-/* $Id: offset.c,v 1.11 1999/09/28 22:25:50 ralf Exp $
- *
+/*
* offset.c: Calculate pt_regs and task_struct offsets.
*
* Copyright (C) 1996 David S. Miller
* Copyright (C) 1997, 1998, 1999 Ralf Baechle
* Copyright (C) 1999 Silicon Graphics, Inc.
+ *
+ * Kevin Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
+ * Copyright (C) 2000 MIPS Technologies, Inc.
*/
-
#include <linux/types.h>
#include <linux/sched.h>
@@ -120,6 +121,10 @@ void output_thread_defines(void)
thread.irix_trampoline);
offset("#define THREAD_OLDCTX ", struct task_struct, \
thread.irix_oldctx);
+ offset("#define THREAD_DSEEPC ", struct task_struct, \
+ thread.dsemul_epc);
+ offset("#define THREAD_DSEAERPC ", struct task_struct, \
+ thread.dsemul_aerpc);
linefeed;
}