|
23 | 23 |
|
24 | 24 | int main(void)
|
25 | 25 | {
|
26 |
| - DEFINE(__THREAD_info, offsetof(struct task_struct, stack)); |
27 |
| - DEFINE(__THREAD_ksp, offsetof(struct task_struct, thread.ksp)); |
28 |
| - DEFINE(__THREAD_mm_segment, offsetof(struct task_struct, thread.mm_segment)); |
29 |
| - BLANK(); |
| 26 | + DEFINE(__TASK_thread_info, offsetof(struct task_struct, stack)); |
| 27 | + DEFINE(__TASK_thread, offsetof(struct task_struct, thread)); |
30 | 28 | DEFINE(__TASK_pid, offsetof(struct task_struct, pid));
|
31 | 29 | BLANK();
|
32 |
| - DEFINE(__THREAD_per_cause, offsetof(struct task_struct, thread.per_event.cause)); |
33 |
| - DEFINE(__THREAD_per_address, offsetof(struct task_struct, thread.per_event.address)); |
34 |
| - DEFINE(__THREAD_per_paid, offsetof(struct task_struct, thread.per_event.paid)); |
| 30 | + DEFINE(__THREAD_ksp, offsetof(struct thread_struct, ksp)); |
| 31 | + DEFINE(__THREAD_per_cause, offsetof(struct thread_struct, per_event.cause)); |
| 32 | + DEFINE(__THREAD_per_address, offsetof(struct thread_struct, per_event.address)); |
| 33 | + DEFINE(__THREAD_per_paid, offsetof(struct thread_struct, per_event.paid)); |
| 34 | + DEFINE(__THREAD_trap_tdb, offsetof(struct thread_struct, trap_tdb)); |
35 | 35 | BLANK();
|
36 | 36 | DEFINE(__TI_task, offsetof(struct thread_info, task));
|
37 | 37 | DEFINE(__TI_flags, offsetof(struct thread_info, flags));
|
@@ -176,7 +176,6 @@ int main(void)
|
176 | 176 | DEFINE(__LC_VDSO_PER_CPU, offsetof(struct _lowcore, vdso_per_cpu_data));
|
177 | 177 | DEFINE(__LC_GMAP, offsetof(struct _lowcore, gmap));
|
178 | 178 | DEFINE(__LC_PGM_TDB, offsetof(struct _lowcore, pgm_tdb));
|
179 |
| - DEFINE(__THREAD_trap_tdb, offsetof(struct task_struct, thread.trap_tdb)); |
180 | 179 | DEFINE(__GMAP_ASCE, offsetof(struct gmap, asce));
|
181 | 180 | DEFINE(__SIE_PROG0C, offsetof(struct kvm_s390_sie_block, prog0c));
|
182 | 181 | DEFINE(__SIE_PROG20, offsetof(struct kvm_s390_sie_block, prog20));
|
|
0 commit comments