summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2013-09-13 19:25:11 +0200
committerRichard Weinberger <richard@nod.at>2014-01-26 11:48:37 +0100
commit61aad98a7f0c48ac4cece3de3d403d521721afe8 (patch)
treee08e9cf50734f15b681e8b4b48ca8b6d58fec5d8
parentd8ec26d7f8287f5788a494f56e8814210f0e64be (diff)
downloadlinux-61aad98a7f0c48ac4cece3de3d403d521721afe8.tar.bz2
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.h3
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 {
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 } \
}