From 61aad98a7f0c48ac4cece3de3d403d521721afe8 Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Fri, 13 Sep 2013 19:25:11 +0200 Subject: um: Removed unused attributes from thread_struct temp_stack and mm_count have no users and can be killed. Signed-off-by: Richard Weinberger --- arch/um/include/asm/processor-generic.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch') 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 } \ } -- cgit v1.2.2 From 9af2452a1839e5586dc7f39eba692d49b768cca4 Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Wed, 15 Jan 2014 20:20:07 +0100 Subject: um: Include generic barrier.h ...to get smp_store_release(). Reported-by: Randy Dunlap Signed-off-by: Richard Weinberger --- arch/um/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild index fdde187e6087..fb3a6cc23015 100644 --- a/arch/um/include/asm/Kbuild +++ b/arch/um/include/asm/Kbuild @@ -4,3 +4,4 @@ generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h generic-y += switch_to.h clkdev.h generic-y += trace_clock.h generic-y += preempt.h +generic-y += barrier.h -- cgit v1.2.2