aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300')
-rw-r--r--arch/mn10300/kernel/signal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c
index 5a2c0040b166..ae36480b450f 100644
--- a/arch/mn10300/kernel/signal.c
+++ b/arch/mn10300/kernel/signal.c
@@ -333,8 +333,6 @@ static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
333 regs->d0 = sig; 333 regs->d0 = sig;
334 regs->d1 = (unsigned long) &frame->sc; 334 regs->d1 = (unsigned long) &frame->sc;
335 335
336 set_fs(USER_DS);
337
338 /* the tracer may want to single-step inside the handler */ 336 /* the tracer may want to single-step inside the handler */
339 if (test_thread_flag(TIF_SINGLESTEP)) 337 if (test_thread_flag(TIF_SINGLESTEP))
340 ptrace_notify(SIGTRAP); 338 ptrace_notify(SIGTRAP);
@@ -416,8 +414,6 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
416 regs->d0 = sig; 414 regs->d0 = sig;
417 regs->d1 = (long) &frame->info; 415 regs->d1 = (long) &frame->info;
418 416
419 set_fs(USER_DS);
420
421 /* the tracer may want to single-step inside the handler */ 417 /* the tracer may want to single-step inside the handler */
422 if (test_thread_flag(TIF_SINGLESTEP)) 418 if (test_thread_flag(TIF_SINGLESTEP))
423 ptrace_notify(SIGTRAP); 419 ptrace_notify(SIGTRAP);