aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/signal.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c
index 8c55f97728cd..54ddaeb221c1 100644
--- a/arch/x86/kernel/signal.c
+++ b/arch/x86/kernel/signal.c
@@ -720,15 +720,6 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka,
720 if (ret) 720 if (ret)
721 return ret; 721 return ret;
722 722
723#ifdef CONFIG_X86_64
724 /*
725 * This has nothing to do with segment registers,
726 * despite the name. This magic affects uaccess.h
727 * macros' behavior. Reset it to the normal setting.
728 */
729 set_fs(USER_DS);
730#endif
731
732 /* 723 /*
733 * Clear the direction flag as per the ABI for function entry. 724 * Clear the direction flag as per the ABI for function entry.
734 */ 725 */