Commit 61aad98a authored by Richard Weinberger's avatar Richard Weinberger

um: Removed unused attributes from thread_struct

temp_stack and mm_count have no users and can be killed.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent d8ec26d7
...@@ -25,10 +25,8 @@ struct thread_struct { ...@@ -25,10 +25,8 @@ struct thread_struct {
void *fault_addr; void *fault_addr;
jmp_buf *fault_catcher; jmp_buf *fault_catcher;
struct task_struct *prev_sched; struct task_struct *prev_sched;
unsigned long temp_stack;
struct arch_thread arch; struct arch_thread arch;
jmp_buf switch_buf; jmp_buf switch_buf;
int mm_count;
struct { struct {
int op; int op;
union { union {
...@@ -52,7 +50,6 @@ struct thread_struct { ...@@ -52,7 +50,6 @@ struct thread_struct {
.regs = EMPTY_REGS, \ .regs = EMPTY_REGS, \
.fault_addr = NULL, \ .fault_addr = NULL, \
.prev_sched = NULL, \ .prev_sched = NULL, \
.temp_stack = 0, \
.arch = INIT_ARCH_THREAD, \ .arch = INIT_ARCH_THREAD, \
.request = { 0 } \ .request = { 0 } \
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment