Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mn10300: get rid of set_fs(USER_DS) in sigframe setup

It really has no business being there; short of a serious kernel bug
we should already have USER_DS at that point. It shouldn't have been
done on x86 either...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
8e87354d c05628b4

-4
-4
arch/mn10300/kernel/signal.c
··· 333 333 regs->d0 = sig; 334 334 regs->d1 = (unsigned long) &frame->sc; 335 335 336 - set_fs(USER_DS); 337 - 338 336 /* the tracer may want to single-step inside the handler */ 339 337 if (test_thread_flag(TIF_SINGLESTEP)) 340 338 ptrace_notify(SIGTRAP); ··· 413 415 regs->pc = (unsigned long) ka->sa.sa_handler; 414 416 regs->d0 = sig; 415 417 regs->d1 = (long) &frame->info; 416 - 417 - set_fs(USER_DS); 418 418 419 419 /* the tracer may want to single-step inside the handler */ 420 420 if (test_thread_flag(TIF_SINGLESTEP))