summaryrefslogtreecommitdiffstats
path: root/target/linux/leon/patches/003-smp_cpu_stuck_fix.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-16 16:32:55 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-16 16:32:55 +0000
commit763c067152ac8f8acc6a4920bd335254435feb2b (patch)
tree2e0e2146effb547c681faed71e1cd042af250d90 /target/linux/leon/patches/003-smp_cpu_stuck_fix.patch
parent8642151a3411335fe43e3b93ad1c867c1ed7b6d7 (diff)
[leon] move patches to patches-2.6.36
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34220 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/leon/patches/003-smp_cpu_stuck_fix.patch')
-rw-r--r--target/linux/leon/patches/003-smp_cpu_stuck_fix.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/leon/patches/003-smp_cpu_stuck_fix.patch b/target/linux/leon/patches/003-smp_cpu_stuck_fix.patch
deleted file mode 100644
index 3d572f5f2..000000000
--- a/target/linux/leon/patches/003-smp_cpu_stuck_fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 417bc6751fdd3c24df274f25e020ec3decd09280 Mon Sep 17 00:00:00 2001
-From: Daniel Hellstrom <daniel@gaisler.com>
-Date: Thu, 16 Sep 2010 11:00:46 +0200
-Subject: [PATCH] Fixed SPARC/LEON SMP CPU Stuck problem.
-
-Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
----
- arch/sparc/kernel/leon_smp.c | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/sparc/kernel/leon_smp.c
-+++ b/arch/sparc/kernel/leon_smp.c
-@@ -56,8 +56,8 @@ void __init leon_configure_cache_smp(voi
- static inline unsigned long do_swap(volatile unsigned long *ptr,
- unsigned long val)
- {
-- __asm__ __volatile__("swapa [%1] %2, %0\n\t" : "=&r"(val)
-- : "r"(ptr), "i"(ASI_LEON_DCACHE_MISS)
-+ __asm__ __volatile__("swapa [%2] %3, %0\n\t" : "=&r"(val)
-+ : "0"(val), "r"(ptr), "i"(ASI_LEON_DCACHE_MISS)
- : "memory");
- return val;
- }