diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-17 16:20:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-17 16:20:25 +0000 |
commit | 916ce4ba2f3a9b311bebf260361bc0cf407b0494 (patch) | |
tree | 3facc57670f7c529e3bd135792bc0f152e2995f1 /target/linux/generic-2.6/patches-2.6.29/022-mips_force_sig_address_errors.patch | |
parent | e68a9dd226a6a2866245239f76879cf77ca65eb3 (diff) | |
download | upstream-916ce4ba2f3a9b311bebf260361bc0cf407b0494.tar.gz upstream-916ce4ba2f3a9b311bebf260361bc0cf407b0494.tar.bz2 upstream-916ce4ba2f3a9b311bebf260361bc0cf407b0494.zip |
get rid of linux 2.6.29
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16883 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 40 |
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) |