| Submitter | Scott Wood |
|---|---|
| Date | Jan. 22, 2013, 1:56 a.m. |
| Message ID | <1358819804-28665-2-git-send-email-scottwood@freescale.com> |
| Download | mbox | patch |
| Permalink | /patch/214331/ |
| State | Not Applicable |
| Headers | show |
Comments
On 01/21/2013 07:56:42 PM, Scott Wood wrote: > Previously we were setting an illegal configuration on mpc85xx > MPICs if CONFIG_IRQ_ALL_CPUS is enabled (which for some reason it is > in mpc85xx_smp_defconfig). > > Signed-off-by: Scott Wood <scottwood@freescale.com> Sigh, please ignore the repost of this and the CONFIG_IRQ_ALL_CPUs patch -- there were some leftover patches in my directory that I didn't notice when running git send-email to send the coreint patches. Don't ignore the original posting of these patches, though. :-) -Scott
Patch
diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index 3b2efd4..6694425 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c @@ -54,7 +54,7 @@ static DEFINE_RAW_SPINLOCK(mpic_lock); #ifdef CONFIG_PPC32 /* XXX for now */ #ifdef CONFIG_IRQ_ALL_CPUS -#define distribute_irqs (1) +#define distribute_irqs (!(mpic->flags & MPIC_SINGLE_DEST_CPU)) #else #define distribute_irqs (0) #endif
Previously we were setting an illegal configuration on mpc85xx MPICs if CONFIG_IRQ_ALL_CPUS is enabled (which for some reason it is in mpc85xx_smp_defconfig). Signed-off-by: Scott Wood <scottwood@freescale.com> --- arch/powerpc/sysdev/mpic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)