patch-2.4.0-test4 linux/arch/mips64/tools/offset.c
Next file: linux/arch/ppc/8xx_io/Config.in
Previous file: linux/arch/mips64/sgi-ip27/ip27-timer.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Jul 11 11:14:48 2000
- Orig file:
v2.4.0-test3/linux/arch/mips64/tools/offset.c
- Orig date:
Tue May 23 15:31:33 2000
diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips64/tools/offset.c linux/arch/mips64/tools/offset.c
@@ -1,10 +1,9 @@
-/* $Id: offset.c,v 1.4 1999/12/04 03:59:01 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.
+ * Copyright (C) 1997, 1998, 1999, 2000 Ralf Baechle
+ * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
*/
#include <linux/types.h>
#include <linux/sched.h>
@@ -80,7 +79,7 @@
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_NICE ", struct task_struct, nice);
offset("#define TASK_MM ", struct task_struct, mm);
offset("#define TASK_PROCESSOR ", struct task_struct, processor);
size("#define TASK_STRUCT_SIZE ", struct task_struct);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)