Files
linux-apfs/arch/alpha/kernel
Ivan Kokshaysky 70b66cbfd3 alpha: nautilus - fix compile failure with gcc-4.3
init_srm_irq() deals with irq's #16 and above, but size of irq_desc
array on nautilus and some other system types is 16. So gcc-4.3
complains that "array subscript is above array bounds", even though
this function is never called on those systems.

This adds a check for NR_IRQS <= 16, which effectively optimizes
init_srm_irq() code away on problematic platforms.

Thanks to Daniel Drake <dsd@gentoo.org> for detailed analysis
of the problem.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-15 16:39:40 -08:00
..
2008-04-17 10:42:34 -04:00
2008-10-20 08:52:41 -07:00
2007-12-17 19:28:16 -08:00
2007-12-17 19:28:16 -08:00
2007-12-17 19:28:16 -08:00
2007-07-26 11:11:57 -07:00
2008-12-31 18:07:42 -05:00
2009-01-01 10:12:26 +10:30
2007-12-17 19:28:16 -08:00
2008-04-28 08:58:27 -07:00
2008-02-05 09:44:21 -08:00
2007-10-16 09:43:03 -07:00
2007-05-30 10:07:54 -07:00
2008-10-20 08:52:41 -07:00
2008-11-30 10:03:35 -08:00