brcm63xx: switch to linux 3.10
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.9 / 108-MIPS-BCM63XX-change-the-guard-to-a-BMIPS4350-check.patch
1 From 3a862fd3cc4f477ad2232370abfceca1ec2145ae Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Fri, 28 Jun 2013 00:10:07 +0200
4 Subject: [PATCH 09/10] MIPS: BCM63XX: change the guard to a BMIPS4350 check
5
6 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
7 ---
8 arch/mips/bcm63xx/prom.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/arch/mips/bcm63xx/prom.c
12 +++ b/arch/mips/bcm63xx/prom.c
13 @@ -62,7 +62,7 @@ void __init prom_init(void)
14 /* set up SMP */
15 register_bmips_smp_ops();
16
17 - if (IS_ENABLED(CONFIG_CPU_BMIPS4350) && IS_ENABLED(CONFIG_SMP)) {
18 + if (cpu_is_bmips4350()) {
19 /*
20 * BCM6328 might not have its second CPU enabled, while BCM6358
21 * needs special handling for its shared TLB, so disable SMP