Blackfin: only build irqpanic.c when needed
authorMike Frysinger <vapier@gentoo.org>
Sat, 13 Jun 2009 14:14:24 +0000 (10:14 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 19 Jun 2009 01:40:49 +0000 (21:40 -0400)
commitcf8d943260528b669c9f0fa6fb4f1c17cab0ecda
tree51fe7ff834db26fac9d455cb464f890ed0dfb8dc
parentabea0bc3d990e5d80f6112985cecee68922a08a3
Blackfin: only build irqpanic.c when needed

The irq_panic function is only used when CONFIG_DEBUG_ICACHE_CHECK is
enabled, so move the conditional build to the Makefile rather than
wrapping all of the contents of the file.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/Makefile
arch/blackfin/mach-common/irqpanic.c