summaryrefslogtreecommitdiff
path: root/arch/x86_64/kernel/signal.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 12:52:41 +0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 12:52:41 +0400
commitdd54a11004b2c9a1f136225f880e021a43b0eadc (patch)
tree34940fe0eae0738634440e75052bd6c2bb4ab23b /arch/x86_64/kernel/signal.c
parent2049336f60d297c85ac977245b9326ec00396114 (diff)
downloadlinux-dd54a11004b2c9a1f136225f880e021a43b0eadc.tar.xz
[PATCH] Remove all traces of signal number conversion
This was old code that was needed for iBCS and x86-64 never supported that. Pointed out by Albert Cahalan Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/kernel/signal.c')
-rw-r--r--arch/x86_64/kernel/signal.c5
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,
#endif
/* Set up registers for signal handler */
- {
- struct exec_domain *ed = current_thread_info()->exec_domain;
- if (unlikely(ed && ed->signal_invmap && sig < 32))
- sig = ed->signal_invmap[sig];
- }
regs->rdi = sig;
/* In case the signal handler was declared without prototypes */
regs->rax = 0;