avr32: Build fix for CONFIG_BUG=n
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 13 Mar 2008 22:52:13 +0000 (23:52 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 13 Mar 2008 22:56:15 +0000 (23:56 +0100)
commit957ecd7dc835d40d110e8c8f460d1956420f86b1
tree385285c2f3213813b442228e36a56eb65f798106
parentbafe68034e3ef5e9f512bd0468001caf34981c41
avr32: Build fix for CONFIG_BUG=n

Don't include the BUG trap handling code when CONFIG_BUG is not set.
This fixes allnoconfig.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/kernel/traps.c