diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-02-18 16:13:05 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-04-12 17:26:15 +0100 |
commit | d814c28ceca8f659c0012eaec8e21eee43710716 (patch) | |
tree | add2c533054febaa51de021eb5b984e1b4818411 /arch/mips/kernel/signal-common.h | |
parent | c52d0d30aef84aa8893b34e5254716c8ab5c4472 (diff) | |
download | linux-d814c28ceca8f659c0012eaec8e21eee43710716.tar.gz linux-d814c28ceca8f659c0012eaec8e21eee43710716.tar.bz2 linux-d814c28ceca8f659c0012eaec8e21eee43710716.zip |
MIPS: Move signal trampolines off of the stack.
This is a follow on to the vdso patch.
Since all processes now have signal trampolines permanently mapped, we
can use those instead of putting the trampoline on the stack and
invalidating the corresponding icache across all CPUs. We also get rid
of a bunch of ICACHE_REFILLS_WORKAROUND_WAR code.
[Ralf: GDB 7.1 which has the necessary modifications to allow backtracing
over signal frames will supposedly be released tomorrow. The old signal
frame format obsoleted by this patch exists in two variations, for sane
processors and for those requiring ICACHE_REFILLS_WORKAROUND_WAR. So
there was never a GDB which did support backtracing over signal frames
on all MIPS systems. This convinved me this series should be applied and
pushed upstream as soon as possible.]
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/974/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal-common.h')
-rw-r--r-- | arch/mips/kernel/signal-common.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/kernel/signal-common.h b/arch/mips/kernel/signal-common.h index 6c8e8c4246f7..10263b405981 100644 --- a/arch/mips/kernel/signal-common.h +++ b/arch/mips/kernel/signal-common.h @@ -26,11 +26,6 @@ */ extern void __user *get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size); -/* - * install trampoline code to get back from the sig handler - */ -extern int install_sigtramp(unsigned int __user *tramp, unsigned int syscall); - /* Check and clear pending FPU exceptions in saved CSR */ extern int fpcsr_pending(unsigned int __user *fpcsr); |