patch-2.1.79 linux/arch/ppc/kernel/mk_defs.c

Next file: linux/arch/ppc/kernel/openpic.c
Previous file: linux/arch/ppc/kernel/misc.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/arch/ppc/kernel/mk_defs.c linux/arch/ppc/kernel/mk_defs.c
@@ -32,12 +32,12 @@
 	DEFINE(STATE, offsetof(struct task_struct, state));
 	DEFINE(NEXT_TASK, offsetof(struct task_struct, next_task));
 	DEFINE(COUNTER, offsetof(struct task_struct, counter));
-	DEFINE(BLOCKED, offsetof(struct task_struct, blocked));
-	DEFINE(SIGNAL, offsetof(struct task_struct, signal));
+	DEFINE(SIGPENDING, offsetof(struct task_struct, sigpending));
 	DEFINE(TSS, offsetof(struct task_struct, tss));
-	DEFINE(KSP, offsetof(struct thread_struct, ksp));
-	/*DEFINE(PG_TABLES, offsetof(struct thread_struct, pg_tables));*/
 	DEFINE(MM, offsetof(struct task_struct, mm));
+	DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct));
+	DEFINE(KSP, offsetof(struct thread_struct, ksp));
+	DEFINE(PG_TABLES, offsetof(struct thread_struct, pg_tables));
 	DEFINE(PGD, offsetof(struct mm_struct, pgd));
 	DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall));
 	DEFINE(PT_REGS, offsetof(struct thread_struct, regs));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov