diff options
Diffstat (limited to 'arch/x86_64/kernel/signal.c')
-rw-r--r-- | arch/x86_64/kernel/signal.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86_64/kernel/signal.c b/arch/x86_64/kernel/signal.c index 7f58bc9a056d..49ec324cd141 100644 --- a/arch/x86_64/kernel/signal.c +++ b/arch/x86_64/kernel/signal.c | |||
@@ -277,11 +277,6 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
277 | #endif | 277 | #endif |
278 | 278 | ||
279 | /* Set up registers for signal handler */ | 279 | /* Set up registers for signal handler */ |
280 | { | ||
281 | struct exec_domain *ed = current_thread_info()->exec_domain; | ||
282 | if (unlikely(ed && ed->signal_invmap && sig < 32)) | ||
283 | sig = ed->signal_invmap[sig]; | ||
284 | } | ||
285 | regs->rdi = sig; | 280 | regs->rdi = sig; |
286 | /* In case the signal handler was declared without prototypes */ | 281 | /* In case the signal handler was declared without prototypes */ |
287 | regs->rax = 0; | 282 | regs->rax = 0; |