PCI MSI: Replace 'type' with 'is_msix'
authorMatthew Wilcox <willy@linux.intel.com>
Tue, 17 Mar 2009 12:54:06 +0000 (08:54 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:12 +0000 (10:48 -0700)
commit24d27553390c69d11cdbd930d635193956fc295f
tree1ed673378c02eba46e6f427e1ab2ca06558f9045
parentc41ade2ee1dc146d2de2ee470a87cd6b878a08f4
PCI MSI: Replace 'type' with 'is_msix'

By changing from a 5-bit field to a 1-bit field, we free up some bits
that can be used by a later patch.  Also rearrange the fields for better
packing on 64-bit platforms (reducing the size of msi_desc from 72 bytes
to 64 bytes).

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