diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-08-26 18:08:11 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-09-12 20:35:35 +0200 |
commit | 94090f418fc80c50ca7ea3f8a6d7ff547260a801 (patch) | |
tree | 5988fd6314ef1f9e25d40f8140d482ac370c141b /arch/um/include/asm | |
parent | 669afa4e8715c5730fb353166f9aaaa14d4fed64 (diff) |
um: Remove unused fields from thread_struct
These fields are no longer used since the removal of tt mode.
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r-- | arch/um/include/asm/processor-generic.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h index 5a7c05275aa7..bce4595798da 100644 --- a/arch/um/include/asm/processor-generic.h +++ b/arch/um/include/asm/processor-generic.h @@ -28,20 +28,10 @@ struct thread_struct { struct arch_thread arch; jmp_buf switch_buf; struct { - int op; - union { - struct { - int pid; - } fork, exec; - struct { - int (*proc)(void *); - void *arg; - } thread; - struct { - void (*proc)(void *); - void *arg; - } cb; - } u; + struct { + int (*proc)(void *); + void *arg; + } thread; } request; }; @@ -51,7 +41,7 @@ struct thread_struct { .fault_addr = NULL, \ .prev_sched = NULL, \ .arch = INIT_ARCH_THREAD, \ - .request = { 0 } \ + .request = { } \ } /* |