]> git.sur5r.net Git - u-boot/commit
microblaze: Disabling interrupt should return 1 if was enabled
authorMichal Simek <monstr@monstr.eu>
Tue, 21 Dec 2010 07:30:39 +0000 (08:30 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 10 Jan 2011 07:52:32 +0000 (08:52 +0100)
commit68e99e54e9e3e0c1b3b45929dc94c26932b851d5
tree6e2a55393cba9dd30def08135fd6adfe8936e7cd
parent89c95f0cd3f8140f3b8a82a22a6a144c148d09c6
microblaze: Disabling interrupt should return 1 if was enabled

Microblaze implement enable/disable interrupts through MSR
that's why disable_interrupts function should return 1 when interrupt
was enabled. Return 0 when interrupt was disabled.

Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Wolfgang Denk <wd@denx.de>
arch/microblaze/cpu/interrupts.c