diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-26 14:06:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-26 14:06:16 -0500 |
commit | 77d143de75812596a58d126606f42d1214e09dde (patch) | |
tree | 2f462fdf839e914fda343dfd3682b914b0a796f4 /arch | |
parent | ccc039d65f24172eebab5e0160462d3417799af5 (diff) | |
parent | 9e443bc369e04b8db3266d7253ce7c1eee2ec979 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML changes from Richard Weinberger:
"This time only various cleanups and housekeeping patches"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
um: hostfs: make functions static
um: Include generic barrier.h
um: Removed unused attributes from thread_struct
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/um/include/asm/processor-generic.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild index 75de4abe4f94..88a330dcdede 100644 --- a/arch/um/include/asm/Kbuild +++ b/arch/um/include/asm/Kbuild | |||
@@ -5,3 +5,4 @@ generic-y += switch_to.h clkdev.h | |||
5 | generic-y += trace_clock.h | 5 | generic-y += trace_clock.h |
6 | generic-y += preempt.h | 6 | generic-y += preempt.h |
7 | generic-y += hash.h | 7 | generic-y += hash.h |
8 | generic-y += barrier.h | ||
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 | } |