]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/85xx: don't init the mpic ipi for the SoC which has doorbell support
authorKevin Hao <haokexin@gmail.com>
Thu, 7 Nov 2013 07:17:17 +0000 (15:17 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 8 Jan 2014 01:06:03 +0000 (19:06 -0600)
commit80412a2bafd9117d35d486e50a3d7817b978328a
tree48175b602d55e1c26092ddcddbca132ca76bad57
parentca87743dd4c94d17fee234d244002e9f31bdb484
powerpc/85xx: don't init the mpic ipi for the SoC which has doorbell support

It makes no sense to initialize the mpic ipi for the SoC which has
doorbell support. So set the smp_85xx_ops.probe to NULL for this
case. Since the smp_85xx_ops.probe is also used in function
smp_85xx_setup_cpu() to check if we need to invoke
mpic_setup_this_cpu(), we introduce a new setup_cpu function
smp_85xx_basic_setup() to remove this dependency.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/platforms/85xx/smp.c