vserver 1.9.3
[linux-2.6.git] / arch / ppc / kernel / asm-offsets.c
index 1999a42..946ea99 100644 (file)
@@ -129,6 +129,13 @@ main(void)
        DEFINE(CPU_SPEC_FEATURES, offsetof(struct cpu_spec, cpu_features));
        DEFINE(CPU_SPEC_SETUP, offsetof(struct cpu_spec, cpu_setup));
 
+       DEFINE(TI_TASK, offsetof(struct thread_info, task));
+       DEFINE(TI_EXECDOMAIN, offsetof(struct thread_info, exec_domain));
+       DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
+       DEFINE(TI_LOCAL_FLAGS, offsetof(struct thread_info, local_flags));
+       DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
+       DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count));
+
        DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28);
        return 0;
 }