acrn-kernel/arch/powerpc/platforms/52xx
Sebastian Siewior 6391f697d4 powerpc: 52xx: provide a default in mpc52xx_irqhost_map()
My gcc-4.3.5 fails to compile due to:

|cc1: warnings being treated as errors
|arch/powerpc/platforms/52xx/mpc52xx_pic.c: In function ‘mpc52xx_irqhost_map’:
|arch/powerpc/platforms/52xx/mpc52xx_pic.c:343: error: ‘irqchip’ may be used uninitialized in this function

since commit e34298c ("powerpc: 52xx: nop out unsupported critical
IRQs"). This warning is complete crap since only values 0…3 are possible
which are checked but gcc fails to understand that. I wouldn't care much
but since this is compiled with -Werror I made this patch.
While add it, I replaced the warning from l2irq to l1irq since this is
the number that is evaluated.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
2013-08-13 00:16:04 +02:00
..
Kconfig
Makefile
efika.c
lite5200.c powerpc: Fix typos in Freescale copyright claims 2012-11-15 13:00:58 +11:00
lite5200_pm.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
lite5200_sleep.S
media5200.c sections: fix section conflicts in arch/powerpc 2012-10-06 03:04:39 +09:00
mpc52xx_common.c
mpc52xx_gpt.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mpc52xx_lpbfifo.c Merge remote-tracking branch 'agust/next' into next 2013-02-20 11:39:05 +11:00
mpc52xx_pci.c powerpc: Mark const init data with __initconst instead of __initdata 2012-04-02 14:00:03 +10:00
mpc52xx_pic.c powerpc: 52xx: provide a default in mpc52xx_irqhost_map() 2013-08-13 00:16:04 +02:00
mpc52xx_pm.c
mpc52xx_sleep.S
mpc5200_simple.c powerpc: mpc5200: Add a3m071 board support 2012-12-06 22:59:08 +01:00