summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
commitc7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch)
tree3682407a599b8f9f03fc096298134cafba1c9b2f /arch/mips/tools
parent1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff)
o Merge with Linux 2.1.116.
o New Newport console code. o New G364 console code.
Diffstat (limited to 'arch/mips/tools')
-rw-r--r--arch/mips/tools/offset.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/tools/offset.c b/arch/mips/tools/offset.c
index 5ea6db0de..db91ed1f4 100644
--- a/arch/mips/tools/offset.c
+++ b/arch/mips/tools/offset.c
@@ -1,10 +1,9 @@
-/*
+/* $Id: offset.c,v 1.10 1998/08/19 21:53:53 ralf Exp $
+ *
* offset.c: Calculate pt_regs and task_struct offsets.
*
* Copyright (C) 1996 David S. Miller
* Made portable by Ralf Baechle
- *
- * $Id: offset.c,v 1.7 1998/04/05 11:24:07 ralf Exp $
*/
#include <linux/types.h>
@@ -77,10 +76,11 @@ void output_task_defines(void)
{
text("/* MIPS task_struct offsets. */");
offset("#define TASK_STATE ", struct task_struct, state);
- offset("#define TASK_COUNTER ", struct task_struct, counter);
- offset("#define TASK_PRIORITY ", struct task_struct, priority);
offset("#define TASK_FLAGS ", struct task_struct, flags);
offset("#define TASK_SIGPENDING ", struct task_struct, sigpending);
+ offset("#define TASK_NEED_RESCHED ", struct task_struct, need_resched);
+ offset("#define TASK_COUNTER ", struct task_struct, counter);
+ offset("#define TASK_PRIORITY ", struct task_struct, priority);
offset("#define TASK_MM ", struct task_struct, mm);
linefeed;
}