diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-22 13:31:46 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-22 13:31:46 +0000 |
commit | 02028358c7be16b3a798973bd88432ca68cfdfdf (patch) | |
tree | a5e99f7798071ae6ca4b0fbd43d490c0987393db /target/linux/coldfire/patches/074-mcfv4e_except_vector_fix.patch | |
parent | 12a0868f9234d1b7cbf7141959276c809169819b (diff) |
[coldfire]: remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24088 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/coldfire/patches/074-mcfv4e_except_vector_fix.patch')
-rw-r--r-- | target/linux/coldfire/patches/074-mcfv4e_except_vector_fix.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/target/linux/coldfire/patches/074-mcfv4e_except_vector_fix.patch b/target/linux/coldfire/patches/074-mcfv4e_except_vector_fix.patch deleted file mode 100644 index 9956ba71b..000000000 --- a/target/linux/coldfire/patches/074-mcfv4e_except_vector_fix.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 09895934aaddf4f08345798068b41344068c7b56 Mon Sep 17 00:00:00 2001 -From: Kurt Mahan <kmahan@freescale.com> -Date: Tue, 8 Jul 2008 00:59:38 -0600 -Subject: [PATCH] Fix exception handling to properly get vector. - -LTIBName: mcfv4e-except-vector-fix -Signed-off-by: Kurt Mahan <kmahan@freescale.com> ---- - arch/m68k/coldfire/traps.c | 11 ++++++----- - 1 files changed, 6 insertions(+), 5 deletions(-) - ---- a/arch/m68k/coldfire/traps.c -+++ b/arch/m68k/coldfire/traps.c -@@ -7,6 +7,7 @@ - * 68040 fixes by Martin Apel - * 68060 fixes by Roman Hodek - * 68060 fixes by Jesper Skov -+ * Coldfire fixes by Kurt Mahan - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file COPYING in the main directory of this archive -@@ -288,13 +289,13 @@ void show_stack(struct task_struct *task - void bad_super_trap(struct frame *fp) - { - console_verbose(); -- if (fp->ptregs.vector < 4*sizeof(vec_names)/sizeof(vec_names[0])) -+ if (fp->ptregs.vector < sizeof(vec_names)/sizeof(vec_names[0])) - printk(KERN_WARNING "*** %s *** FORMAT=%X\n", -- vec_names[(fp->ptregs.vector) >> 2], -+ vec_names[fp->ptregs.vector], - fp->ptregs.format); - else - printk(KERN_WARNING "*** Exception %d *** FORMAT=%X\n", -- (fp->ptregs.vector) >> 2, -+ fp->ptregs.vector, - fp->ptregs.format); - printk(KERN_WARNING "Current process id is %d\n", current->pid); - die_if_kernel("BAD KERNEL TRAP", &fp->ptregs, 0); -@@ -306,7 +307,7 @@ asmlinkage void trap_c(struct frame *fp) - siginfo_t info; - - if (fp->ptregs.sr & PS_S) { -- if ((fp->ptregs.vector >> 2) == VEC_TRACE) { -+ if (fp->ptregs.vector == VEC_TRACE) { - /* traced a trapping instruction */ - current->ptrace |= PT_DTRACE; - } else -@@ -315,7 +316,7 @@ asmlinkage void trap_c(struct frame *fp) - } - - /* send the appropriate signal to the user program */ -- switch ((fp->ptregs.vector) >> 2) { -+ switch (fp->ptregs.vector) { - case VEC_ADDRERR: - info.si_code = BUS_ADRALN; - sig = SIGBUS; |