cciss: check for msi in interrupt_not_for_us
authorMike Miller <mike.miller@hp.com>
Wed, 2 Jun 2010 19:58:02 +0000 (12:58 -0700)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:12:35 +0000 (18:12 +0200)
commit2cf3af1c9ec26f8db3f386e48f9d979ad8bb3eff
treef5a315a693777164760fd25c1c8702017efc3e03
parent0c2b39087c900bdb240b50ac95ee9da00d844565
cciss: check for msi in interrupt_not_for_us

Check to see if h->msi[x]_vector is set.  We need this for a following
patch.  Without this check we process one interrupt then stop because in
msi[x] mode the interrupt pending bit is not set.  Not sure why we didn't
encounter this before.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c