linux/arch/powerpc/platforms/86xx
Kyle Moffett 5019609fce powerpc/mpic: Remove MPIC_BROKEN_FRR_NIRQS and duplicate irq_count
The mpic->irq_count variable is only used as a software error-checking
limit to determine whether or not an IRQ number is valid.  In board code
which does not manually specify an IRQ count to mpic_alloc(), i.e. 0, it
is automatically detected from the number of ISUs and the ISU size.

In practice, all hardware ends up with irq_count == num_sources, so all
of the runtime checks on mpic->irq_count should just check the value of
mpic->num_sources instead.

When platform hardware does not correctly report the number of IRQs,
which only happens on the MPC85xx/MPC86xx, the MPIC_BROKEN_FRR_NIRQS
flag is used to override the detected value of num_sources with the
manual irq_count parameter.  Since there's no need to manually specify
the number of IRQs except in this case, the extra flag can be eliminated
and the test changed to "irq_count != 0".

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-02-23 10:49:59 +11:00
..
gef_gpio.c powerpc: Fix up modules that should be including module.h 2011-10-31 19:30:38 -04:00
gef_pic.c powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
gef_pic.h powerpc: GE Fanuc's FPGA based PIC controller on the SBC610 2008-10-13 11:09:57 -05:00
gef_ppc9a.c powerpc/86xx: Renaming following split of GE Fanuc joint venture 2010-03-04 10:43:44 -06:00
gef_sbc310.c powerpc/86xx: Renaming following split of GE Fanuc joint venture 2010-03-04 10:43:44 -06:00
gef_sbc610.c powerpc/86xx: Renaming following split of GE Fanuc joint venture 2010-03-04 10:43:44 -06:00
Kconfig gpio: move mpc8xxx/512x gpio driver to drivers/gpio 2011-09-23 00:14:15 +02:00
Makefile powerpc/86xx: Board support for GE Fanuc's PPC9A 2009-03-19 04:01:00 -05:00
mpc86xx_hpcn.c powerpc/8xxx: Update device tree bus probe for new RapidIO node binding 2011-11-24 02:01:34 -06:00
mpc86xx_smp.c powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
mpc86xx.h powerpc/86xx: Refactor pic init 2008-07-14 07:55:41 -05:00
mpc8610_hpcd.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-3.x into fbdev-next 2011-08-29 09:14:30 +00:00
pic.c powerpc/mpic: Remove MPIC_BROKEN_FRR_NIRQS and duplicate irq_count 2012-02-23 10:49:59 +11:00
sbc8641d.c powerpc/86xx: clean up smp init code 2009-05-19 00:50:20 -05:00