[PATCH 3/6] um: Remove unused fields from thread_struct
Tiwei Bie
tiwei.btw at antgroup.com
Thu Aug 15 18:54:44 PDT 2024
These fields are no longer used since the removal of tt mode.
Signed-off-by: Tiwei Bie <tiwei.btw at antgroup.com>
---
arch/um/include/asm/processor-generic.h | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h
index 5a7c05275aa7..864389ee29f6 100644
--- a/arch/um/include/asm/processor-generic.h
+++ b/arch/um/include/asm/processor-generic.h
@@ -28,19 +28,11 @@ 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;
} request;
};
@@ -51,7 +43,7 @@ struct thread_struct {
.fault_addr = NULL, \
.prev_sched = NULL, \
.arch = INIT_ARCH_THREAD, \
- .request = { 0 } \
+ .request = { } \
}
/*
--
2.34.1
More information about the linux-um
mailing list