Jeffrey Deans 6096e114f5 MIPS: GIC: Prevent array overrun
A GIC interrupt which is declared as having a GIC_MAP_TO_NMI_MSK
mapping causes the cpu parameter to gic_setup_intr() to be increased
to 32, causing memory corruption when pcpu_masks[] is written to again
later in the function.

Signed-off-by: Jeffrey Deans <jeffrey.deans@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: stable@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7375/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-08-02 00:06:40 +02:00
..
2014-06-26 11:59:01 +05:30
2014-07-13 12:10:18 -07:00
2014-07-08 17:30:59 +01:00
2014-06-12 20:08:47 -07:00
2014-06-04 10:02:38 -07:00
2014-08-02 00:06:40 +02:00
2014-06-04 10:02:38 -07:00