PCI MSI: Fix undefined shift by 32
authorMatthew Wilcox <willy@wil.cx>
Thu, 22 Jan 2009 00:19:19 +0000 (19:19 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 27 Jan 2009 17:53:25 +0000 (09:53 -0800)
Add an msi_mask() function which returns the correct bitmask for the
number of MSI interrupts you have.  This fixes an undefined bug in
msi_capability_init().

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c

Simple merge