diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-01-13 12:13:05 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-01-13 12:13:05 +0000 |
commit | e854f846a1dfffee4499a0d68b5d7a11055db090 (patch) | |
tree | 732ecafa93b6d8c1b75ad0fcbb464ba60dc605d4 /target/linux/brcm63xx/patches-3.10/106-MIPS-bmips-add-a-helper-function-for-registering-smp.patch | |
parent | d9d3c108635c56d2b3e3e88a0f2fc037d8e43917 (diff) | |
download | master-187ad058-e854f846a1dfffee4499a0d68b5d7a11055db090.tar.gz master-187ad058-e854f846a1dfffee4499a0d68b5d7a11055db090.tar.bz2 master-187ad058-e854f846a1dfffee4499a0d68b5d7a11055db090.zip |
brcm63xx: update bmips patches with upstream submission
Update bmips cleanup patches with upstream submission and backport a few
bmips fixes.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39267 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/106-MIPS-bmips-add-a-helper-function-for-registering-smp.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.10/106-MIPS-bmips-add-a-helper-function-for-registering-smp.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/106-MIPS-bmips-add-a-helper-function-for-registering-smp.patch b/target/linux/brcm63xx/patches-3.10/106-MIPS-bmips-add-a-helper-function-for-registering-smp.patch deleted file mode 100644 index ad357b6ab2..0000000000 --- a/target/linux/brcm63xx/patches-3.10/106-MIPS-bmips-add-a-helper-function-for-registering-smp.patch +++ /dev/null @@ -1,42 +0,0 @@ -From aa15ac91faccc3bf01a29670b1f9ae1945cea056 Mon Sep 17 00:00:00 2001 -From: Jonas Gorski <jogo@openwrt.org> -Date: Sun, 23 Jun 2013 14:04:51 +0200 -Subject: [PATCH 07/10] MIPS: bmips: add a helper function for registering smp - ops - -Add a helper similar to the generic register_XXX_smp_ops() for bmips. - -Signed-off-by: Jonas Gorski <jogo@openwrt.org> ---- - arch/mips/include/asm/bmips.h | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - ---- a/arch/mips/include/asm/bmips.h -+++ b/arch/mips/include/asm/bmips.h -@@ -47,6 +47,7 @@ - #include <linux/cpumask.h> - #include <asm/cpu-features.h> - #include <asm/r4kcache.h> -+#include <asm/smp-ops.h> - - #define cpu_is_bmips32() (current_cpu_type() == CPU_BMIPS32) - #define cpu_is_bmips3300() (IS_ENABLED(CONFIG_CPU_BMIPS3300) && \ -@@ -59,6 +60,18 @@ - current_cpu_type() == CPU_BMIPS5000) - - extern struct plat_smp_ops bmips_smp_ops; -+ -+static inline int register_bmips_smp_ops(void) -+{ -+#ifdef CONFIG_CPU_BMIPS -+ register_smp_ops(&bmips_smp_ops); -+ -+ return 0; -+#else -+ return -ENODEV; -+#endif -+} -+ - extern char bmips_reset_nmi_vec; - extern char bmips_reset_nmi_vec_end; - extern char bmips_smp_movevec; |