AVR32: Fix logic inversion in disable_interrupts()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 17 Dec 2007 10:02:44 +0000 (11:02 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 17 Dec 2007 10:02:44 +0000 (11:02 +0100)
commitdf9c25ea04b38a0e05d4f8c73c5cc144cdafa7db
tree05c600c6a1e908535aaf9880927d5ff9593d3469
parentacac475212cbedb17b321a363a1c878e2b47b37f
AVR32: Fix logic inversion in disable_interrupts()

disable_interrupts() should return nonzero if interrupts were
_enabled_ before, not disabled.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
lib_avr32/interrupts.c