diff options
author | Richard Weinberger <richard@nod.at> | 2013-09-13 13:25:11 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2014-01-26 05:48:37 -0500 |
commit | 61aad98a7f0c48ac4cece3de3d403d521721afe8 (patch) | |
tree | e08e9cf50734f15b681e8b4b48ca8b6d58fec5d8 | |
parent | d8ec26d7f8287f5788a494f56e8814210f0e64be (diff) |
um: Removed unused attributes from thread_struct
temp_stack and mm_count have no users and can be killed.
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | arch/um/include/asm/processor-generic.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h index d89b02bb6262..cbc5edd5a901 100644 --- a/arch/um/include/asm/processor-generic.h +++ b/arch/um/include/asm/processor-generic.h | |||
@@ -25,10 +25,8 @@ struct thread_struct { | |||
25 | void *fault_addr; | 25 | void *fault_addr; |
26 | jmp_buf *fault_catcher; | 26 | jmp_buf *fault_catcher; |
27 | struct task_struct *prev_sched; | 27 | struct task_struct *prev_sched; |
28 | unsigned long temp_stack; | ||
29 | struct arch_thread arch; | 28 | struct arch_thread arch; |
30 | jmp_buf switch_buf; | 29 | jmp_buf switch_buf; |
31 | int mm_count; | ||
32 | struct { | 30 | struct { |
33 | int op; | 31 | int op; |
34 | union { | 32 | union { |
@@ -52,7 +50,6 @@ struct thread_struct { | |||
52 | .regs = EMPTY_REGS, \ | 50 | .regs = EMPTY_REGS, \ |
53 | .fault_addr = NULL, \ | 51 | .fault_addr = NULL, \ |
54 | .prev_sched = NULL, \ | 52 | .prev_sched = NULL, \ |
55 | .temp_stack = 0, \ | ||
56 | .arch = INIT_ARCH_THREAD, \ | 53 | .arch = INIT_ARCH_THREAD, \ |
57 | .request = { 0 } \ | 54 | .request = { 0 } \ |
58 | } | 55 | } |