提交 61aad98a 编写于 作者: R Richard Weinberger

um: Removed unused attributes from thread_struct

temp_stack and mm_count have no users and can be killed.
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 d8ec26d7
......@@ -25,10 +25,8 @@ struct thread_struct {
void *fault_addr;
jmp_buf *fault_catcher;
struct task_struct *prev_sched;
unsigned long temp_stack;
struct arch_thread arch;
jmp_buf switch_buf;
int mm_count;
struct {
int op;
union {
......@@ -52,7 +50,6 @@ struct thread_struct {
.regs = EMPTY_REGS, \
.fault_addr = NULL, \
.prev_sched = NULL, \
.temp_stack = 0, \
.arch = INIT_ARCH_THREAD, \
.request = { 0 } \
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册