summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-05-19 10:21:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-05-19 10:21:32 +0000
commit01afcd25567dec5dc3073a6959ce8e8abe5651d4 (patch)
treeb748df0a27c6e23d40e92ab66317e2d1c8596777 /target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch
parent5bad9df354c05a1bb64ea3af6dcf1fa8a2f63a9b (diff)
downloadmaster-31e0f0ae-01afcd25567dec5dc3073a6959ce8e8abe5651d4.tar.gz
master-31e0f0ae-01afcd25567dec5dc3073a6959ce8e8abe5651d4.tar.bz2
master-31e0f0ae-01afcd25567dec5dc3073a6959ce8e8abe5651d4.zip
remove 2.6.29 since there are no remaining users of it
SVN-Revision: 15922
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch b/target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch
deleted file mode 100644
index 7d45fd99f4..0000000000
--- a/target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-When init is started it is SIGNAL_UNKILLABLE. If it were to get an
-address error, we would try to send it SIGBUS, but it would be ignored
-and the faulting instruction restarted. This results in an endless
-loop.
-
-We need to use force_sig() instead so it will actually die and give us
-some useful information.
-
-Reported-by: Florian Fainelli <florian@openwrt.org>
-
-Signed-off-by: David Daney <ddaney@caviumnetworks.com>
----
- arch/mips/kernel/unaligned.c | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
---- a/arch/mips/kernel/unaligned.c
-+++ b/arch/mips/kernel/unaligned.c
-@@ -482,19 +482,19 @@ fault:
- return;
-
- die_if_kernel("Unhandled kernel unaligned access", regs);
-- send_sig(SIGSEGV, current, 1);
-+ force_sig(SIGSEGV, current);
-
- return;
-
- sigbus:
- die_if_kernel("Unhandled kernel unaligned access", regs);
-- send_sig(SIGBUS, current, 1);
-+ force_sig(SIGBUS, current);
-
- return;
-
- sigill:
- die_if_kernel("Unhandled kernel unaligned access or invalid instruction", regs);
-- send_sig(SIGILL, current, 1);
-+ force_sig(SIGILL, current);
- }
-
- asmlinkage void do_ade(struct pt_regs *regs)