um: Removed unused attributes from thread_struct
authorRichard Weinberger <richard@nod.at>
Fri, 13 Sep 2013 17:25:11 +0000 (19:25 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 26 Jan 2014 10:48:37 +0000 (11:48 +0100)
temp_stack and mm_count have no users and can be killed.

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/asm/processor-generic.h

index d89b02bb6262d2bd34f21a96f8ec8f3845b5cd8c..cbc5edd5a901b347067cedc6a35fcc370e1e285e 100644 (file)
@@ -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 } \
 }