diff options
Diffstat (limited to 'arch/um/sys-i386')
-rw-r--r-- | arch/um/sys-i386/ptrace.c | 6 | ||||
-rw-r--r-- | arch/um/sys-i386/tls.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/um/sys-i386/ptrace.c b/arch/um/sys-i386/ptrace.c index bd3da8a61f64..6b4499906a6c 100644 --- a/arch/um/sys-i386/ptrace.c +++ b/arch/um/sys-i386/ptrace.c | |||
@@ -8,11 +8,11 @@ | |||
8 | #include "asm/uaccess.h" | 8 | #include "asm/uaccess.h" |
9 | #include "skas.h" | 9 | #include "skas.h" |
10 | 10 | ||
11 | extern int arch_switch_tls(struct task_struct *from, struct task_struct *to); | 11 | extern int arch_switch_tls(struct task_struct *to); |
12 | 12 | ||
13 | void arch_switch_to(struct task_struct *from, struct task_struct *to) | 13 | void arch_switch_to(struct task_struct *to) |
14 | { | 14 | { |
15 | int err = arch_switch_tls(from, to); | 15 | int err = arch_switch_tls(to); |
16 | if (!err) | 16 | if (!err) |
17 | return; | 17 | return; |
18 | 18 | ||
diff --git a/arch/um/sys-i386/tls.c b/arch/um/sys-i386/tls.c index 027e86ad9e5c..f29b8a8fc1e0 100644 --- a/arch/um/sys-i386/tls.c +++ b/arch/um/sys-i386/tls.c | |||
@@ -172,7 +172,7 @@ void clear_flushed_tls(struct task_struct *task) | |||
172 | * SKAS patch. | 172 | * SKAS patch. |
173 | */ | 173 | */ |
174 | 174 | ||
175 | int arch_switch_tls(struct task_struct *from, struct task_struct *to) | 175 | int arch_switch_tls(struct task_struct *to) |
176 | { | 176 | { |
177 | if (!host_supports_tls) | 177 | if (!host_supports_tls) |
178 | return 0; | 178 | return 0; |