From: Richard Weinberger Date: Fri, 13 Sep 2013 17:25:11 +0000 (+0200) Subject: um: Removed unused attributes from thread_struct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=61aad98a7f0c48ac4cece3de3d403d521721afe8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git um: Removed unused attributes from thread_struct temp_stack and mm_count have no users and can be killed. Signed-off-by: Richard Weinberger --- 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 } \ }