Fix wrong check, thanks Axel :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29244 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-02-18 17:52:51 +00:00
parent 25630ec983
commit 896e3e9c52

View File

@ -299,7 +299,7 @@ install_io_interrupt_handler(long vector, interrupt_handler handler, void *data,
io->func = handler;
io->data = data;
io->use_enable_counter = (flags & B_NO_ENABLE_COUNTER) == 0;
io->no_handled_info = (flags & B_NO_HANDLED_INFO) == 0;
io->no_handled_info = (flags & B_NO_HANDLED_INFO) != 0;
// Disable the interrupts, get the spinlock for this irq only
// and then insert the handler