aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386/ptrace.c')
-rw-r--r--arch/um/sys-i386/ptrace.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/um/sys-i386/ptrace.c b/arch/um/sys-i386/ptrace.c
index ff94eded93eb..927fcd955651 100644
--- a/arch/um/sys-i386/ptrace.c
+++ b/arch/um/sys-i386/ptrace.c
@@ -15,9 +15,13 @@
15#include "sysdep/sigcontext.h" 15#include "sysdep/sigcontext.h"
16#include "sysdep/sc.h" 16#include "sysdep/sc.h"
17 17
18void arch_switch(void) 18void arch_switch_to_tt(struct task_struct *from, struct task_struct *to)
19{
20 update_debugregs(to->thread.arch.debugregs_seq);
21}
22
23void arch_switch_to_skas(struct task_struct *from, struct task_struct *to)
19{ 24{
20 update_debugregs(current->thread.arch.debugregs_seq);
21} 25}
22 26
23int is_syscall(unsigned long addr) 27int is_syscall(unsigned long addr)