summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools/offset.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-09-28 22:25:29 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-09-28 22:25:29 +0000
commit0ae8dceaebe3659ee0c3352c08125f403e77ebca (patch)
tree5085c389f09da78182b899d19fe1068b619a69dd /arch/mips/tools/offset.c
parent273767781288c35c9d679e908672b9996cda4c34 (diff)
Merge with 2.3.10.
Diffstat (limited to 'arch/mips/tools/offset.c')
-rw-r--r--arch/mips/tools/offset.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/mips/tools/offset.c b/arch/mips/tools/offset.c
index f32f3e76e..ede1d5f93 100644
--- a/arch/mips/tools/offset.c
+++ b/arch/mips/tools/offset.c
@@ -1,9 +1,10 @@
-/* $Id: offset.c,v 1.9 1998/08/25 09:14:52 ralf Exp $
+/* $Id: offset.c,v 1.10 1999/08/18 23:37:46 ralf Exp $
*
* offset.c: Calculate pt_regs and task_struct offsets.
*
* Copyright (C) 1996 David S. Miller
- * Made portable by Ralf Baechle
+ * Copyright (C) 1997, 1998, 1999 Ralf Baechle
+ * Copyright (C) 1999 Silicon Graphics, Inc.
*/
#include <linux/types.h>
@@ -126,20 +127,17 @@ void output_mm_defines(void)
void output_sc_defines(void)
{
text("/* Linux sigcontext offsets. */");
- offset("#define SC_REGMASK ", struct sigcontext, sc_regmask);
- offset("#define SC_STATUS ", struct sigcontext, sc_status);
- offset("#define SC_PC ", struct sigcontext, sc_pc);
offset("#define SC_REGS ", struct sigcontext, sc_regs);
offset("#define SC_FPREGS ", struct sigcontext, sc_fpregs);
+ offset("#define SC_MDHI ", struct sigcontext, sc_mdhi);
+ offset("#define SC_MDLO ", struct sigcontext, sc_mdlo);
+ offset("#define SC_PC ", struct sigcontext, sc_pc);
+ offset("#define SC_STATUS ", struct sigcontext, sc_status);
offset("#define SC_OWNEDFP ", struct sigcontext, sc_ownedfp);
offset("#define SC_FPC_CSR ", struct sigcontext, sc_fpc_csr);
offset("#define SC_FPC_EIR ", struct sigcontext, sc_fpc_eir);
- offset("#define SC_SSFLAGS ", struct sigcontext, sc_ssflags);
- offset("#define SC_MDHI ", struct sigcontext, sc_mdhi);
- offset("#define SC_MDLO ", struct sigcontext, sc_mdlo);
offset("#define SC_CAUSE ", struct sigcontext, sc_cause);
offset("#define SC_BADVADDR ", struct sigcontext, sc_badvaddr);
- offset("#define SC_SIGSET ", struct sigcontext, sc_sigset);
linefeed;
}