aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-11-22 13:31:46 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-11-22 13:31:46 +0000
commitd6ea3e24d49f94051305b5191edd10d213f92bf3 (patch)
treed92ba23cf07ca211cd6100bb144831295b2bea54 /target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch
parentd066a4c712aae3cd1aaa5108f7cd2cae81c6343b (diff)
downloadupstream-d6ea3e24d49f94051305b5191edd10d213f92bf3.tar.gz
upstream-d6ea3e24d49f94051305b5191edd10d213f92bf3.tar.bz2
upstream-d6ea3e24d49f94051305b5191edd10d213f92bf3.zip
remove 2.6.25 support
SVN-Revision: 24088
Diffstat (limited to 'target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch')
-rw-r--r--target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch b/target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch
deleted file mode 100644
index dc551babf3..0000000000
--- a/target/linux/coldfire/patches/053-mcfv4e_brcache_inval.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From eba69831e8f35174e2e15e373a66f40dc0be8929 Mon Sep 17 00:00:00 2001
-From: Kurt Mahan <kmahan@freescale.com>
-Date: Wed, 14 May 2008 12:23:12 -0600
-Subject: [PATCH] Force branch-cache invalidate on task switch.
-
-When finishing a task switch make sure the branch cache
-gets invalidated to ensure no stale entries exist for
-the next user space.
-
-LTIBName: mcfv4e-brcache-inval
-Signed-off-by: Kurt Mahan <kmahan@freescale.com>
----
- include/asm-m68k/system.h | 15 +++++++++++++++
- 1 files changed, 15 insertions(+), 0 deletions(-)
-
---- a/include/asm-m68k/system.h
-+++ b/include/asm-m68k/system.h
-@@ -5,9 +5,24 @@
- #include <linux/kernel.h>
- #include <asm/segment.h>
- #include <asm/entry.h>
-+#include <asm/cfcache.h>
-
- #ifdef __KERNEL__
-
-+#ifdef CONFIG_COLDFIRE
-+#define FLUSH_BC (0x00040000)
-+
-+#define finish_arch_switch(prev) do { \
-+ unsigned long tmpreg; \
-+ asm volatile ( "move.l %2,%0\n" \
-+ "orl %1,%0\n" \
-+ "movec %0,%%cacr" \
-+ : "=&d" (tmpreg) \
-+ : "id" (FLUSH_BC), "m" (shadow_cacr)); \
-+ } while(0)
-+
-+#endif
-+
- /*
- * switch_to(n) should switch tasks to task ptr, first checking that
- * ptr isn't the current task, in which case it does nothing. This